run.lint: check all packages
authorMarko Kreen <markokr@gmail.com>
Thu, 10 Sep 2009 11:33:48 +0000 (14:33 +0300)
committerMarko Kreen <markokr@gmail.com>
Thu, 10 Sep 2009 11:54:10 +0000 (14:54 +0300)
Also tune down style warnings

misc/lint.rc
misc/run.lint.sh

index 36690aa66a846c2bbcee99dd146f7226ba020e51..16b247eba4f0e636179d7c2e2965cf64e4c58b60 100644 (file)
@@ -250,28 +250,28 @@ int-import-graph=
 max-args=10
 
 # Maximum number of locals for function / method body
-max-locals=20
+max-locals=30
 
 # Maximum number of return / yield for function / method body
-max-returns=6
+max-returns=10
 
 # Maximum number of branch for function / method body
-max-branchs=20
+max-branchs=30
 
 # Maximum number of statements in function / method body
-max-statements=50
+max-statements=100
 
 # Maximum number of parents for a class (see R0901).
 max-parents=7
 
 # Maximum number of attributes for a class (see R0902).
-max-attributes=20
+max-attributes=30
 
 # Minimum number of public methods for a class (see R0903).
-min-public-methods=1
+min-public-methods=0
 
 # Maximum number of public methods for a class (see R0904).
-max-public-methods=30
+max-public-methods=140
 
 
 # checks for similarities and duplicated code. This computation may be
index 6283773a482ce899ed430cdddc06dcfee74d88e7..5b5a7d33704a24a1c04c979dc4d18dc848aba438 100755 (executable)
@@ -7,5 +7,5 @@ bdir=`echo build/lib.*`
 
 cd $bdir
 export PYTHONPATH=.:$PYTHONPATH
-pylint -i yes --rcfile=../../misc/lint.rc skytools
+pylint -i yes --rcfile=../../misc/lint.rc skytools pgq londiste