tests/tools/check_source.sh
changeset 1865 0bd5b3099144
parent 1863 46d9955e1101
child 1866 9d1e68d557bf
equal deleted inserted replaced
1864:9e64afb38963 1865:0bd5b3099144
   238     enable=$enable,W0406          # (import-self) Module import itself
   238     enable=$enable,W0406          # (import-self) Module import itself
   239     enable=$enable,C0413          # (wrong-import-position) Import "import X" should be placed at the top of the module
   239     enable=$enable,C0413          # (wrong-import-position) Import "import X" should be placed at the top of the module
   240     enable=$enable,E1305          # (too-many-format-args) Too many arguments for format string
   240     enable=$enable,E1305          # (too-many-format-args) Too many arguments for format string
   241     enable=$enable,E0704          # (misplaced-bare-raise) The raise statement is not inside an except clause
   241     enable=$enable,E0704          # (misplaced-bare-raise) The raise statement is not inside an except clause
   242     enable=$enable,C0123          # (unidiomatic-typecheck) Using type() instead of isinstance() for a typecheck.
   242     enable=$enable,C0123          # (unidiomatic-typecheck) Using type() instead of isinstance() for a typecheck.
   243     enable=$enable,E0601          # (used-before-assignment)
   243     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
   244     # enable=
   245     # enable=
   245 
   246 
   246     options=
   247     options=
   247     options="$options --rcfile=.pylint"
   248     options="$options --rcfile=.pylint"
   248     # options="$options --py3k"   # report errors for Python 3 porting
   249     # options="$options --py3k"   # report errors for Python 3 porting