tests/tools/check_source.sh
changeset 1875 62aaabbf8812
parent 1873 e69d7e5aff00
child 1876 995df4804221
equal deleted inserted replaced
1874:a347459df3a4 1875:62aaabbf8812
   258     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
   259     enable=$enable,E0401          # (import-error) Unable to import 'X'
   259     enable=$enable,E0401          # (import-error) Unable to import 'X'
   260     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
   261     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
   262     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
       
   264     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
   263     # enable=
   266     # enable=
   264 
   267 
   265     options=
   268     options=
   266     options="$options --rcfile=.pylint"
   269     options="$options --rcfile=.pylint"
   267     # options="$options --py3k"   # report errors for Python 3 porting
   270     # options="$options --py3k"   # report errors for Python 3 porting