Removed some really odd pylint messages.
This commit is contained in:
13
pylintrc
13
pylintrc
@@ -3,14 +3,20 @@
|
|||||||
[Master]
|
[Master]
|
||||||
|
|
||||||
[Messages Control]
|
[Messages Control]
|
||||||
|
|
||||||
|
# http://pylint-messages.wikidot.com/all-codes
|
||||||
# NOTE(justinsb): We might want to have a 2nd strict pylintrc in future
|
# NOTE(justinsb): We might want to have a 2nd strict pylintrc in future
|
||||||
# C0111: Don't require docstrings on every method
|
# C0111: Don't require docstrings on every method
|
||||||
# W0511: TODOs in code comments are fine.
|
# R0912: Too many branches (huh)
|
||||||
|
# R0914: Too many local variables is odd.
|
||||||
# W0142: *args and **kwargs are fine.
|
# W0142: *args and **kwargs are fine.
|
||||||
|
# W0511: TODOs in code comments are fine.
|
||||||
|
# W0613: Unused argument '??' should be ok (they are useful sometimes to know intention of variable)
|
||||||
# W0622: Redefining id is fine.
|
# W0622: Redefining id is fine.
|
||||||
disable=C0111,W0142,W0622,C0301,R0902,R0201
|
disable=C0111,W0142,W0622,C0301,R0902,R0201,R0914,W0613,R0912
|
||||||
|
|
||||||
[Basic]
|
[Basic]
|
||||||
|
|
||||||
# Variable names can be 1 to 31 characters long, with lowercase and underscores
|
# Variable names can be 1 to 31 characters long, with lowercase and underscores
|
||||||
variable-rgx=[a-z_][a-z0-9_]{0,30}$
|
variable-rgx=[a-z_][a-z0-9_]{0,30}$
|
||||||
|
|
||||||
@@ -25,6 +31,7 @@ method-rgx=([a-z_][a-z0-9_]{2,50}|setUp|tearDown)$
|
|||||||
no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
|
no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
|
||||||
|
|
||||||
[Design]
|
[Design]
|
||||||
|
|
||||||
max-public-methods=100
|
max-public-methods=100
|
||||||
min-public-methods=0
|
min-public-methods=0
|
||||||
max-args=6
|
max-args=6
|
||||||
@@ -33,5 +40,3 @@ max-args=6
|
|||||||
|
|
||||||
# List of additional names supposed to be defined in builtins. Remember that
|
# List of additional names supposed to be defined in builtins. Remember that
|
||||||
# you should avoid to define new builtins when possible.
|
# you should avoid to define new builtins when possible.
|
||||||
# _ is used by our localization
|
|
||||||
additional-builtins=_
|
|
||||||
|
Reference in New Issue
Block a user