summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2013-05-21 16:53:12 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2013-05-21 16:53:12 -0700
commit406d72a23e24fcdc81cdffdb08bb28650546cb86 (patch)
treefa28daa68a733a8b8380c708a2c5d91d5be8fe64 /pylintrc
parentdaf341ad819987f9d7ec3e198793274688597dd7 (diff)
downloadtaskflow-406d72a23e24fcdc81cdffdb08bb28650546cb86.tar.gz
Massive pylint cleanup
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc29
1 files changed, 18 insertions, 11 deletions
diff --git a/pylintrc b/pylintrc
index 0248028..1b7a688 100644
--- a/pylintrc
+++ b/pylintrc
@@ -1,10 +1,10 @@
-[Messages Control]
-# W0511: TODOs in code comments are fine.
-# W0142: *args and **kwargs are fine.
-# W0622: Redefining id is fine.
-disable-msg=W0511,W0142,W0622
+[MESSAGES CONTROL]
+
+# Disable the message(s) with the given id(s).
+disable=C0111,I0011,R0201,R0922,R0924,W0142,W0511,W0622,W0703
+
+[BASIC]
-[Basic]
# Variable names can be 1 to 31 characters long, with lowercase and underscores
variable-rgx=[a-z_][a-z0-9_]{0,30}$
@@ -15,13 +15,20 @@ argument-rgx=[a-z_][a-z0-9_]{1,30}$
# and be lowecased with underscores
method-rgx=[a-z_][a-z0-9_]{2,50}$
-# Module names matching nova-* are ok (files in bin/)
-module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(nova-[a-z0-9_-]+))$
-
# Don't require docstrings on tests.
no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
-[Design]
+[DESIGN]
+max-args=10
+max-attributes=20
+max-branchs=30
max-public-methods=100
+max-statements=60
min-public-methods=0
-max-args=6
+
+[REPORTS]
+output-format=parseable
+include-ids=yes
+
+[VARIABLES]
+additional-builtins=_