summaryrefslogtreecommitdiff
path: root/pylint.conf
diff options
context:
space:
mode:
authorkennyballou <kballou@onyx.boisestate.edu>2013-03-09 00:16:06 -0700
committerkennyballou <kballou@onyx.boisestate.edu>2013-03-09 00:16:06 -0700
commitaeb0672db3f2a4ddb4812344398831180a723d0c (patch)
tree9e93a7e1626a4e1c029ca327c6a50fabde61c76a /pylint.conf
parent4378349f77f3dfd2c94244c6a2f427babd17c9d4 (diff)
downloadxnt-aeb0672db3f2a4ddb4812344398831180a723d0c.tar.gz
xnt-aeb0672db3f2a4ddb4812344398831180a723d0c.tar.xz
Update pylint.conf
Update lint rules Update explicit ignores in favor of new lint rules
Diffstat (limited to 'pylint.conf')
-rw-r--r--pylint.conf10
1 files changed, 5 insertions, 5 deletions
diff --git a/pylint.conf b/pylint.conf
index 80a65b6..5282466 100644
--- a/pylint.conf
+++ b/pylint.conf
@@ -92,7 +92,7 @@ generated-members=REQUEST,acl_users,aq_parent
[FORMAT]
# Maximum number of characters on a single line.
-max-line-length=80
+max-line-length=79
# Maximum number of lines in a module
max-module-lines=1000
@@ -126,10 +126,10 @@ const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
class-rgx=[A-Z_][a-zA-Z0-9]+$
# Regular expression which should only match correct function names
-function-rgx=[a-z_][a-z0-9_]{2,30}$
+function-rgx=[a-z0-9_]{2,30}$
# Regular expression which should only match correct method names
-method-rgx=[a-z_][a-z0-9_]{2,30}$
+method-rgx=[a-zA-Z0-9_]{2,30}$
# Regular expression which should only match correct instance attribute names
attr-rgx=[a-z_][a-z0-9_]{2,30}$
@@ -246,10 +246,10 @@ max-parents=7
max-attributes=7
# Minimum number of public methods for a class (see R0903).
-min-public-methods=2
+min-public-methods=1
# Maximum number of public methods for a class (see R0904).
-max-public-methods=20
+max-public-methods=50
[EXCEPTIONS]