tests/tools/check_source.sh
changeset 2413 803daf19a1b5
parent 2412 22b1879a3c15
child 2414 7fad75e5e63d
equal deleted inserted replaced
2412:22b1879a3c15 2413:803daf19a1b5
   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,E1300          # (bad-format-character) Unsupported format character '"' (0x22) at index 17
       
   294     enable=$enable,E1304          # (missing-format-string-key) Missing key 'X_name' in format string dictionary
   294     enable=$enable,W0106          # (expression-not-assigned) Expression "X" is assigned to nothing
   295     enable=$enable,W0106          # (expression-not-assigned) Expression "X" is assigned to nothing
   295     enable=$enable,E1136          # (unsubscriptable-object) Value 'X' is unsubscriptable
   296     enable=$enable,E1136          # (unsubscriptable-object) Value 'X' is unsubscriptable
   296     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'
   297     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'
   297     enable=$enable,W1618          # (no-absolute-import) import missing `from __future__ import absolute_import`
   298     enable=$enable,W1618          # (no-absolute-import) import missing `from __future__ import absolute_import`
   298     enable=$enable,W0403          # (relative-import) Relative import 'Y', should be 'X.Y '
   299     enable=$enable,W0403          # (relative-import) Relative import 'Y', should be 'X.Y '