summaryrefslogtreecommitdiffstats
path: root/pylintrc
diff options
context:
space:
mode:
authorEric Day <eday@oddments.org>2010-08-18 18:38:34 -0700
committerEric Day <eday@oddments.org>2010-08-18 18:38:34 -0700
commit24c7080249113fc6c87a58d97405f5d32c6db5e2 (patch)
tree7df3b8378be6397b466b67d6e8fcc0d01ce9b385 /pylintrc
parentbde9618560665392b00dd320b22804020d411b8a (diff)
downloadnova-24c7080249113fc6c87a58d97405f5d32c6db5e2.tar.gz
nova-24c7080249113fc6c87a58d97405f5d32c6db5e2.tar.xz
nova-24c7080249113fc6c87a58d97405f5d32c6db5e2.zip
More pylintrc updates.
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/pylintrc b/pylintrc
index 334d49f8e..6702ca895 100644
--- a/pylintrc
+++ b/pylintrc
@@ -4,10 +4,12 @@
disable-msg=W0511,W0142
[Basic]
-# Variables 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}$
+# 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}$
@@ -21,3 +23,4 @@ no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
[Design]
max-public-methods=100
min-public-methods=0
+max-args=6