tests/tools/check_source.sh
changeset 2414 7fad75e5e63d
parent 2413 803daf19a1b5
child 2415 f7d8891fe708
equal deleted inserted replaced
2413:803daf19a1b5 2414:7fad75e5e63d
   225     disable=$disable,R0204        # (redefined-variable-type) Redefinition of current type from X to Y
   225     disable=$disable,R0204        # (redefined-variable-type) Redefinition of current type from X to Y
   226     disable=$disable,R0201        # (no-self-use) Method could be a function
   226     disable=$disable,R0201        # (no-self-use) Method could be a function
   227     disable=$disable,W0221        # (arguments-differ) Arguments number differs from overridden 'X' method
   227     disable=$disable,W0221        # (arguments-differ) Arguments number differs from overridden 'X' method
   228     disable=$disable,C0201        # (consider-iterating-dictionary) Consider iterating the dictionary directly instead of calling .keys()
   228     disable=$disable,C0201        # (consider-iterating-dictionary) Consider iterating the dictionary directly instead of calling .keys()
   229     disable=$disable,W0201        # (attribute-defined-outside-init) Attribute 'X' defined outside __init__
   229     disable=$disable,W0201        # (attribute-defined-outside-init) Attribute 'X' defined outside __init__
       
   230     disable=$disable,I1101        # (c-extension-no-member) Module 'lxml.etree' has not 'X' member,
       
   231                                   # but source is unavailable. Consider adding this module to extension-pkg-whitelist
       
   232                                   # if you want to perform analysis based on run-time introspection of living objects.
   230 
   233 
   231     # It'd be nice to fix warnings below some day
   234     # It'd be nice to fix warnings below some day
   232     disable=$disable,C0111        # missing-docstring
   235     disable=$disable,C0111        # missing-docstring
   233     disable=$disable,W0703        # broad-except
   236     disable=$disable,W0703        # broad-except
   234     disable=$disable,C0301        # Line too long
   237     disable=$disable,C0301        # Line too long
   290     enable=$enable,W0111          # (assign-to-new-keyword) Name async will become a keyword in Python 3.7
   293     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
   294     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
   295     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
   296     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
   297     enable=$enable,E1304          # (missing-format-string-key) Missing key 'X_name' in format string dictionary
       
   298     enable=$enable,R1701          # (consider-merging-isinstance) Consider merging these isinstance calls to isinstance(CTNLDFLAGS, (str, unicode))
   295     enable=$enable,W0106          # (expression-not-assigned) Expression "X" is assigned to nothing
   299     enable=$enable,W0106          # (expression-not-assigned) Expression "X" is assigned to nothing
   296     enable=$enable,E1136          # (unsubscriptable-object) Value 'X' is unsubscriptable
   300     enable=$enable,E1136          # (unsubscriptable-object) Value 'X' is unsubscriptable
   297     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'
   301     enable=$enable,E0602          # (undefined-variable) Undefined variable 'X'
   298     enable=$enable,W1618          # (no-absolute-import) import missing `from __future__ import absolute_import`
   302     enable=$enable,W1618          # (no-absolute-import) import missing `from __future__ import absolute_import`
   299     enable=$enable,W0403          # (relative-import) Relative import 'Y', should be 'X.Y '
   303     enable=$enable,W0403          # (relative-import) Relative import 'Y', should be 'X.Y '