summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Santa Barbara <justin@fathomdb.com>2011-03-20 21:27:14 +0000
committerTarmac <>2011-03-20 21:27:14 +0000
commit01d4d7ade4ed0a6f7d6c93799457db5f758ed6df (patch)
treeea256af71256c6f1b47dbc1d31588ee88eb36b19
parentaa522497e2d438f30a8ecf2e93908226d900bd86 (diff)
parent7b7033bfb31c610b1f0295e6059ed44931dfe450 (diff)
Tell PyLint not to complain about the "_" function
-rw-r--r--pylintrc13
1 files changed, 12 insertions, 1 deletions
diff --git a/pylintrc b/pylintrc
index f07b14980..135eea4d5 100644
--- a/pylintrc
+++ b/pylintrc
@@ -1,8 +1,12 @@
+# The format of this file isn't really documented; just use --generate-rcfile
+
[Messages Control]
+# NOTE(justinsb): We might want to have a 2nd strict pylintrc in future
+# C0111: Don't require docstrings on every method
# W0511: TODOs in code comments are fine.
# W0142: *args and **kwargs are fine.
# W0622: Redefining id is fine.
-disable-msg=W0511,W0142,W0622
+disable=C0111,W0511,W0142,W0622
[Basic]
# Variable names can be 1 to 31 characters long, with lowercase and underscores
@@ -25,3 +29,10 @@ no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
max-public-methods=100
min-public-methods=0
max-args=6
+
+[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=_