tests/tools/check_source.sh
changeset 1873 e69d7e5aff00
parent 1872 866fb3ab8778
child 1875 62aaabbf8812
equal deleted inserted replaced
1872:866fb3ab8778 1873:e69d7e5aff00
   201     disable=$disable,W0613        # (unused-argument) Unused argument 'X'
   201     disable=$disable,W0613        # (unused-argument) Unused argument 'X'
   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 
   207 
   207     # It'd be nice to fix warnings below some day
   208     # It'd be nice to fix warnings below some day
   208     disable=$disable,C0111        # missing-docstring
   209     disable=$disable,C0111        # missing-docstring
   209     disable=$disable,W0703        # broad-except
   210     disable=$disable,W0703        # broad-except
   210     disable=$disable,C0301        # Line too long
   211     disable=$disable,C0301        # Line too long
   256     enable=$enable,E0611          # (no-name-in-module) No name 'X' in module 'Y'
   257     enable=$enable,E0611          # (no-name-in-module) No name 'X' in module 'Y'
   257     enable=$enable,E0213          # (no-self-argument) Method should have "self" as first argument
   258     enable=$enable,E0213          # (no-self-argument) Method should have "self" as first argument
   258     enable=$enable,E0401          # (import-error) Unable to import 'X'
   259     enable=$enable,E0401          # (import-error) Unable to import 'X'
   259     enable=$enable,E1121          # (too-many-function-args) Too many positional arguments for function call
   260     enable=$enable,E1121          # (too-many-function-args) Too many positional arguments for function call
   260     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'
   261     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'
       
   262     enable=$enable,W0232          # (no-init) Class has no __init__ method
   261     # enable=
   263     # enable=
   262 
   264 
   263     options=
   265     options=
   264     options="$options --rcfile=.pylint"
   266     options="$options --rcfile=.pylint"
   265     # options="$options --py3k"   # report errors for Python 3 porting
   267     # options="$options --py3k"   # report errors for Python 3 porting