diff mx/.pylintrc @ 11525:75a7d4b79b29

added pylint command
author Doug Simon <doug.simon@oracle.com>
date Wed, 04 Sep 2013 14:54:48 +0200
parents dc3c8df55905
children
line wrap: on
line diff
--- a/mx/.pylintrc	Wed Sep 04 13:21:30 2013 +0200
+++ b/mx/.pylintrc	Wed Sep 04 14:54:48 2013 +0200
@@ -15,7 +15,7 @@
 ignore=CVS
 
 # Pickle collected data for later comparisons.
-persistent=yes
+persistent=no
 
 # List of plugins (as comma separated values of python modules names) to load,
 # usually to register additional checkers.
@@ -41,7 +41,10 @@
 disable=attribute-defined-outside-init,arguments-differ,
         bare-except,global-statement,protected-access,redefined-outer-name,
         unused-argument,star-args,pointless-string-statement,old-style-class,
-        too-many-lines,missing-docstring,no-init
+        too-many-lines,missing-docstring,no-init,no-self-use,too-many-statements,
+        too-many-locals,too-few-public-methods,too-many-instance-attributes,
+        too-many-arguments,too-many-branches,too-many-public-methods,
+        abstract-method
 
 [REPORTS]
 
@@ -92,10 +95,10 @@
 class-rgx=[A-Z_][a-zA-Z0-9]+$
 
 # Regular expression which should only match correct function names
-function-rgx=[a-z_][a-zA-Z0-9_]{1,30}$
+function-rgx=[a-z_][a-zA-Z0-9_]{1,40}$
 
 # Regular expression which should only match correct method names
-method-rgx=[a-z_][a-zA-Z0-9_]{2,30}$
+method-rgx=[a-z_][a-zA-Z0-9_]{2,40}$
 
 # Regular expression which should only match correct instance attribute names
 attr-rgx=[a-z_][a-zA-Z0-9_]{1,30}$