fix pylint error "(no-name-in-module) No name 'X' in module 'Y'"
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 11 Oct 2017 11:54:55 +0300
changeset 1867 418777c1fbc7
parent 1866 9d1e68d557bf
child 1868 616c3f4bcbcb
fix pylint error "(no-name-in-module) No name 'X' in module 'Y'"
.pylint
tests/tools/check_source.sh
--- a/.pylint	Wed Oct 11 11:41:32 2017 +0300
+++ b/.pylint	Wed Oct 11 11:54:55 2017 +0300
@@ -270,7 +270,7 @@
 # (useful for modules/projects where namespaces are manipulated during runtime
 # and thus existing member attributes cannot be deduced by static analysis. It
 # supports qualified module names, as well as Unix pattern matching.
-ignored-modules=
+ignored-modules=_ctypes
 
 # List of class names for which member attributes should not be checked (useful
 # for classes with dynamically set attributes). This supports the use of
--- a/tests/tools/check_source.sh	Wed Oct 11 11:41:32 2017 +0300
+++ b/tests/tools/check_source.sh	Wed Oct 11 11:54:55 2017 +0300
@@ -243,6 +243,7 @@
     enable=$enable,E0601          # (used-before-assignment) Using variable 'X' before assignment
     enable=$enable,E1120          # (no-value-for-parameter) No value for argument 'X' in function call
     enable=$enable,E0701          # (bad-except-order) Bad except clauses order (X is an ancestor class of Y)
+    enable=$enable,E0611          # (no-name-in-module) No name 'X' in module 'Y'
     # enable=
 
     options=