tests/tools/check_source.sh
changeset 1878 fb73a6b6622d
parent 1876 995df4804221
child 1879 4d81c3bcac82
equal deleted inserted replaced
1877:da5f1fa46f2b 1878:fb73a6b6622d
   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     disable=$disable,R0204        # (redefined-variable-type) Redefinition of current type from X to Y
       
   208     disable=$disable,R0201        # (no-self-use) Method could be a function
   208 
   209 
   209     # It'd be nice to fix warnings below some day
   210     # It'd be nice to fix warnings below some day
   210     disable=$disable,C0111        # missing-docstring
   211     disable=$disable,C0111        # missing-docstring
   211     disable=$disable,W0703        # broad-except
   212     disable=$disable,W0703        # broad-except
   212     disable=$disable,C0301        # Line too long
   213     disable=$disable,C0301        # Line too long
   263     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'
   264     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'
   264     enable=$enable,W0232          # (no-init) Class has no __init__ method
   265     enable=$enable,W0232          # (no-init) Class has no __init__ method
   265     enable=$enable,W0233          # (non-parent-init-called) __init__ method from a non direct base class 'X' is called
   266     enable=$enable,W0233          # (non-parent-init-called) __init__ method from a non direct base class 'X' is called
   266     enable=$enable,W0601          # (global-variable-undefined) Global variable 'X' undefined at the module level
   267     enable=$enable,W0601          # (global-variable-undefined) Global variable 'X' undefined at the module level
   267     enable=$enable,W0623          # (redefine-in-handler) Redefining name 'X' from outer scope (line Y) in exception handler
   268     enable=$enable,W0623          # (redefine-in-handler) Redefining name 'X' from outer scope (line Y) in exception handler
   268     enable=$enable,W0106          # (expression-not-assigned)
   269     enable=$enable,W0106          # (expression-not-assigned) Expression "X" is assigned to nothing
       
   270     enable=$enable,C0330          # (bad-continuation) Wrong hanging indentation before block
   269     # enable=
   271     # enable=
   270 
   272 
   271     options=
   273     options=
   272     options="$options --rcfile=.pylint"
   274     options="$options --rcfile=.pylint"
   273     # options="$options --py3k"   # report errors for Python 3 porting
   275     # options="$options --py3k"   # report errors for Python 3 porting