Remove incorrect comment
[ganeti-local] / pylintrc
index 809d010..4fdec6e 100644 (file)
--- a/pylintrc
+++ b/pylintrc
@@ -25,7 +25,7 @@ required-attributes =
 no-docstring-rgx = .*
 module-rgx = (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
 # added lower-case names
-const-rgx = ((_{0,2}[A-Z][A-Z0-9_]*)|(__.*__)|(_?[a-z_][a-z0-9_]*))$
+const-rgx = ((_{0,2}[A-Za-z][A-Za-z0-9_]*)|(__.*__))$
 class-rgx = _?[A-Z][a-zA-Z0-9]+$
 # added lower-case names
 function-rgx = (_?([A-Z]+[a-z0-9]+([A-Z]+[a-z0-9]*)*)|main|([a-z_][a-z0-9_]*))$
@@ -43,6 +43,7 @@ bad-functions = xrange
 ignore-mixin-members = yes
 zope = no
 acquired-members =
+ignored-classes = sha1,md5,Popen,ChildProcess
 
 [VARIABLES]
 init-import = no
@@ -52,6 +53,7 @@ additional-builtins =
 [CLASSES]
 ignore-iface-methods =
 defining-attr-methods = __init__,__new__,setUp
+valid-classmethod-first-arg = cls,mcs
 
 [DESIGN]
 max-args = 15
@@ -73,7 +75,7 @@ int-import-graph =
 
 [FORMAT]
 max-line-length = 80
-max-module-lines = 10000
+max-module-lines = 4500
 indent-string = "  "
 
 [MISCELLANEOUS]