Files
f7e5328e136f825343a4988411a1b14a2d2adb98
nova /pylintrc

39 lines
1.2 KiB
INI
Raw Normal View History

2011年03月16日 14:34:44 -07:00
# The format of this file isn't really documented; just use --generate-rcfile
# C0111: Don't require docstrings on every method
2010年08月17日 23:46:16 -07:00
# W0511: TODOs in code comments are fine.
# W0142: *args and **kwargs are fine.
2010年09月28日 16:46:21 -05:00
# W0622: Redefining id is fine.
2010年08月18日 18:38:34 -07:00
# Variable names can be 1 to 31 characters long, with lowercase and underscores
2010年08月18日 18:38:34 -07:00
# Argument names can be 2 to 31 characters long, with lowercase and underscores
argument-rgx=[a-z_][a-z0-9_]{1,30}$
# Method names should be at least 3 characters long
# and be lowecased with underscores
method-rgx=([a-z_][a-z0-9_]{2,50}|setUp|tearDown)$
2010年08月17日 23:46:16 -07:00
# Module names matching nova-* are ok (files in bin/)
2010年08月18日 17:38:00 -07:00
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(nova-[a-z0-9_-]+))$
2010年08月17日 23:46:16 -07:00
# Don't require docstrings on tests.
no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
max-public-methods=100
min-public-methods=0
2010年08月18日 18:38:34 -07:00
max-args=6
2011年03月16日 14:34:44 -07:00
[Variables]
# List of additional names supposed to be defined in builtins. Remember that
# you should avoid to define new builtins when possible.
# _ is used by our localization
additional-builtins=_