tests/tools/check_source.sh
changeset 1868 616c3f4bcbcb
parent 1867 418777c1fbc7
child 1869 49cdd843c006
equal deleted inserted replaced
1867:418777c1fbc7 1868:616c3f4bcbcb
   208     disable=$disable,C0111        # missing-docstring
   208     disable=$disable,C0111        # missing-docstring
   209     disable=$disable,W0703        # broad-except
   209     disable=$disable,W0703        # broad-except
   210     disable=$disable,C0301        # Line too long
   210     disable=$disable,C0301        # Line too long
   211     disable=$disable,C0302        # Too many lines in module
   211     disable=$disable,C0302        # Too many lines in module
   212     disable=$disable,W0511        # fixme    
   212     disable=$disable,W0511        # fixme    
   213 
   213     disable=$disable,R0901        # (too-many-ancestors) Too many ancestors (9/7)
       
   214     disable=$disable,R0902        # (too-many-instance-attributes) Too many instance attributes (10/7)
       
   215     disable=$disable,R0903        # (too-few-public-methods) Too few public methods (0/2)
       
   216     disable=$disable,R0904        # (too-many-public-methods) Too many public methods (41/20)
       
   217     disable=$disable,R0911        # (too-many-return-statements) Too many return statements (7/6)
       
   218     disable=$disable,R0912        # (too-many-branches) Too many branches (61/12)
       
   219     disable=$disable,R0913        # (too-many-arguments) Too many arguments (6/5)
       
   220     disable=$disable,R0914        # (too-many-locals) Too many local variables (18/15)
       
   221     disable=$disable,R0915        # (too-many-statements) Too many statements (57/50)
       
   222     disable=$disable,R0916        # (too-many-boolean-expressions) Too many boolean expressions in if statement (6/5)
   214     
   223     
   215     enable=
   224     enable=
   216     enable=$enable,E1601          # print statement used
   225     enable=$enable,E1601          # print statement used
   217     enable=$enable,C0325          # (superfluous-parens) Unnecessary parens after keyword    
   226     enable=$enable,C0325          # (superfluous-parens) Unnecessary parens after keyword    
   218     enable=$enable,W0404          # reimported module    
   227     enable=$enable,W0404          # reimported module    
   242     enable=$enable,C0123          # (unidiomatic-typecheck) Using type() instead of isinstance() for a typecheck.
   251     enable=$enable,C0123          # (unidiomatic-typecheck) Using type() instead of isinstance() for a typecheck.
   243     enable=$enable,E0601          # (used-before-assignment) Using variable 'X' before assignment
   252     enable=$enable,E0601          # (used-before-assignment) Using variable 'X' before assignment
   244     enable=$enable,E1120          # (no-value-for-parameter) No value for argument 'X' in function call
   253     enable=$enable,E1120          # (no-value-for-parameter) No value for argument 'X' in function call
   245     enable=$enable,E0701          # (bad-except-order) Bad except clauses order (X is an ancestor class of Y)
   254     enable=$enable,E0701          # (bad-except-order) Bad except clauses order (X is an ancestor class of Y)
   246     enable=$enable,E0611          # (no-name-in-module) No name 'X' in module 'Y'
   255     enable=$enable,E0611          # (no-name-in-module) No name 'X' in module 'Y'
       
   256     enable=$enable,E0213          # (no-self-argument) Method should have "self" as first argument
   247     # enable=
   257     # enable=
   248 
   258 
   249     options=
   259     options=
   250     options="$options --rcfile=.pylint"
   260     options="$options --rcfile=.pylint"
   251     # options="$options --py3k"   # report errors for Python 3 porting
   261     # options="$options --py3k"   # report errors for Python 3 porting