summaryrefslogtreecommitdiffstats
path: root/pylintrc
diff options
context:
space:
mode:
authorjaypipes@gmail.com <>2010-08-09 12:37:15 -0400
committerjaypipes@gmail.com <>2010-08-09 12:37:15 -0400
commitc6c222800ccc1203fc0edd7716dd808ec8f6bdc4 (patch)
treefb4cabfa71d6733d482988985acf1bada7b3635f /pylintrc
parent948162e3bdd96cdbe5db9a0c25722ac63c04e264 (diff)
downloadnova-c6c222800ccc1203fc0edd7716dd808ec8f6bdc4.tar.gz
nova-c6c222800ccc1203fc0edd7716dd808ec8f6bdc4.tar.xz
nova-c6c222800ccc1203fc0edd7716dd808ec8f6bdc4.zip
Fix up variable names instead of disabling pylint naming rule. Makes variables able to be a single letter in pylintrc
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/pylintrc b/pylintrc
index 36ec7b346..045d05939 100644
--- a/pylintrc
+++ b/pylintrc
@@ -1,4 +1,10 @@
[Basic]
+# Variables can be 1 to 31 characters long, with
+# lowercase and underscores
+variable-rgx=[a-z_][a-z0-9_]{0,30}$
+
+# Method names should be at least 3 characters long
+# and be lowecased with underscores
method-rgx=[a-z_][a-z0-9_]{2,50}$
[MESSAGES CONTROL]