tests/tools/check_source.sh
changeset 1876 995df4804221
parent 1875 62aaabbf8812
child 1878 fb73a6b6622d
equal deleted inserted replaced
1875:62aaabbf8812 1876:995df4804221
   202     disable=$disable,W0622        # (redefined-builtin) Redefining built-in
   202     disable=$disable,W0622        # (redefined-builtin) Redefining built-in
   203     disable=$disable,W0621        # (redefined-outer-name) Redefining name 'Y' from outer scope (line X)    
   203     disable=$disable,W0621        # (redefined-outer-name) Redefining name 'Y' from outer scope (line X)    
   204     disable=$disable,W0122        # (exec-used) Use of exec
   204     disable=$disable,W0122        # (exec-used) Use of exec
   205     disable=$disable,W0123        # (eval-used) Use of eval
   205     disable=$disable,W0123        # (eval-used) Use of eval
   206     disable=$disable,I0011        # (locally-disabled) Locally disabling ungrouped-imports (C0412)
   206     disable=$disable,I0011        # (locally-disabled) Locally disabling ungrouped-imports (C0412)
       
   207     disable=$disable,R0204        # (redefined-variable-type) Redefinition of current type from X to Y
   207 
   208 
   208     # It'd be nice to fix warnings below some day
   209     # It'd be nice to fix warnings below some day
   209     disable=$disable,C0111        # missing-docstring
   210     disable=$disable,C0111        # missing-docstring
   210     disable=$disable,W0703        # broad-except
   211     disable=$disable,W0703        # broad-except
   211     disable=$disable,C0301        # Line too long
   212     disable=$disable,C0301        # Line too long
   220     disable=$disable,R0913        # (too-many-arguments) Too many arguments (6/5)
   221     disable=$disable,R0913        # (too-many-arguments) Too many arguments (6/5)
   221     disable=$disable,R0914        # (too-many-locals) Too many local variables (18/15)
   222     disable=$disable,R0914        # (too-many-locals) Too many local variables (18/15)
   222     disable=$disable,R0915        # (too-many-statements) Too many statements (57/50)
   223     disable=$disable,R0915        # (too-many-statements) Too many statements (57/50)
   223     disable=$disable,R0916        # (too-many-boolean-expressions) Too many boolean expressions in if statement (6/5)
   224     disable=$disable,R0916        # (too-many-boolean-expressions) Too many boolean expressions in if statement (6/5)
   224     disable=$disable,R0101        # (too-many-nested-blocks) Too many nested blocks (7/5)
   225     disable=$disable,R0101        # (too-many-nested-blocks) Too many nested blocks (7/5)
       
   226     disable=$disable,R0801        # (duplicate-code) Similar lines in N files
   225 
   227 
   226     enable=
   228     enable=
   227     enable=$enable,E1601          # print statement used
   229     enable=$enable,E1601          # print statement used
   228     enable=$enable,C0325          # (superfluous-parens) Unnecessary parens after keyword    
   230     enable=$enable,C0325          # (superfluous-parens) Unnecessary parens after keyword    
   229     enable=$enable,W0404          # reimported module    
   231     enable=$enable,W0404          # reimported module    
   261     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'
   263     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'
   262     enable=$enable,W0232          # (no-init) Class has no __init__ method
   264     enable=$enable,W0232          # (no-init) Class has no __init__ method
   263     enable=$enable,W0233          # (non-parent-init-called) __init__ method from a non direct base class 'X' is called
   265     enable=$enable,W0233          # (non-parent-init-called) __init__ method from a non direct base class 'X' is called
   264     enable=$enable,W0601          # (global-variable-undefined) Global variable 'X' undefined at the module level
   266     enable=$enable,W0601          # (global-variable-undefined) Global variable 'X' undefined at the module level
   265     enable=$enable,W0623          # (redefine-in-handler) Redefining name 'X' from outer scope (line Y) in exception handler
   267     enable=$enable,W0623          # (redefine-in-handler) Redefining name 'X' from outer scope (line Y) in exception handler
       
   268     enable=$enable,W0106          # (expression-not-assigned)
   266     # enable=
   269     # enable=
   267 
   270 
   268     options=
   271     options=
   269     options="$options --rcfile=.pylint"
   272     options="$options --rcfile=.pylint"
   270     # options="$options --py3k"   # report errors for Python 3 porting
   273     # options="$options --py3k"   # report errors for Python 3 porting