tests/tools/check_source.sh
changeset 2411 3a883a76abe0
parent 2410 4e7ebd6ec248
child 2412 22b1879a3c15
equal deleted inserted replaced
2410:4e7ebd6ec248 2411:3a883a76abe0
   285     enable=$enable,E0401          # (import-error) Unable to import 'X'
   285     enable=$enable,E0401          # (import-error) Unable to import 'X'
   286     enable=$enable,E1121          # (too-many-function-args) Too many positional arguments for function call
   286     enable=$enable,E1121          # (too-many-function-args) Too many positional arguments for function call
   287     enable=$enable,W0232          # (no-init) Class has no __init__ method
   287     enable=$enable,W0232          # (no-init) Class has no __init__ method
   288     enable=$enable,W0233          # (non-parent-init-called) __init__ method from a non direct base class 'X' is called
   288     enable=$enable,W0233          # (non-parent-init-called) __init__ method from a non direct base class 'X' is called
   289     enable=$enable,W0601          # (global-variable-undefined) Global variable 'X' undefined at the module level
   289     enable=$enable,W0601          # (global-variable-undefined) Global variable 'X' undefined at the module level
       
   290     enable=$enable,W0111          # (assign-to-new-keyword) Name async will become a keyword in Python 3.7
   290     enable=$enable,W0623          # (redefine-in-handler) Redefining name 'X' from outer scope (line Y) in exception handler
   291     enable=$enable,W0623          # (redefine-in-handler) Redefining name 'X' from outer scope (line Y) in exception handler
   291     enable=$enable,E1310          # (bad-str-strip-call) Suspicious argument in str.strip call
   292     enable=$enable,E1310          # (bad-str-strip-call) Suspicious argument in str.strip call
   292     enable=$enable,W0106          # (expression-not-assigned) Expression "X" is assigned to nothing
   293     enable=$enable,W0106          # (expression-not-assigned) Expression "X" is assigned to nothing
   293     enable=$enable,E1136          # (unsubscriptable-object) Value 'X' is unsubscriptable
   294     enable=$enable,E1136          # (unsubscriptable-object) Value 'X' is unsubscriptable
   294     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'
   295     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'