summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
authorEric Day <eday@oddments.org>2010-10-21 11:49:51 -0700
committerEric Day <eday@oddments.org>2010-10-21 11:49:51 -0700
commite012a2b73725bded6d4ac39747d57affda545770 (patch)
tree3c675423e1d7f5b187b70723bf0d02b3f1e5d1b5 /pylintrc
parent3e3407f2e4f44e7f717bba94219bb0023695fc4d (diff)
downloadnova-e012a2b73725bded6d4ac39747d57affda545770.tar.gz
PEP8 and pylint cleanup. There should be no functional changes here, just style changes to get violations down.
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylintrc b/pylintrc
index 0248028351..f07b149809 100644
--- a/pylintrc
+++ b/pylintrc
@@ -13,7 +13,7 @@ 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}$
+method-rgx=([a-z_][a-z0-9_]{2,50}|setUp|tearDown)$
# 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_-]+))$