tests/tools/check_source.sh
changeset 2412 22b1879a3c15
parent 2411 3a883a76abe0
child 2413 803daf19a1b5
equal deleted inserted replaced
2411:3a883a76abe0 2412:22b1879a3c15
   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,W0111          # (assign-to-new-keyword) Name async will become a keyword in Python 3.7
   291     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
   292     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
       
   293     enable=$enable,E1300          # (bad-format-character) Unsupported format character '"' (0x22) at index 17
   293     enable=$enable,W0106          # (expression-not-assigned) Expression "X" is assigned to nothing
   294     enable=$enable,W0106          # (expression-not-assigned) Expression "X" is assigned to nothing
   294     enable=$enable,E1136          # (unsubscriptable-object) Value 'X' is unsubscriptable
   295     enable=$enable,E1136          # (unsubscriptable-object) Value 'X' is unsubscriptable
   295     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'
   296     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'
   296     enable=$enable,W1618          # (no-absolute-import) import missing `from __future__ import absolute_import`
   297     enable=$enable,W1618          # (no-absolute-import) import missing `from __future__ import absolute_import`
   297     enable=$enable,W0403          # (relative-import) Relative import 'Y', should be 'X.Y '
   298     enable=$enable,W0403          # (relative-import) Relative import 'Y', should be 'X.Y '