diff options
author | Marko Kreen | 2009-09-10 11:33:48 +0000 |
---|---|---|
committer | Marko Kreen | 2009-09-10 11:54:10 +0000 |
commit | 8ee1c37f7c528a70a2b4bce509829621dba0b9b8 (patch) | |
tree | 3ae49b31caef4552a01f7ce95cbc28604725ac7c | |
parent | 4e3d76ee0d6cd509bfbf9d0ecdf3a4774f9027b1 (diff) |
run.lint: check all packages
Also tune down style warnings
-rw-r--r-- | misc/lint.rc | 14 | ||||
-rwxr-xr-x | misc/run.lint.sh | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/misc/lint.rc b/misc/lint.rc index 36690aa6..16b247eb 100644 --- a/misc/lint.rc +++ b/misc/lint.rc @@ -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 diff --git a/misc/run.lint.sh b/misc/run.lint.sh index 6283773a..5b5a7d33 100755 --- a/misc/run.lint.sh +++ b/misc/run.lint.sh @@ -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 |