# HG changeset patch # User Andrey Skvortsov # Date 1507712095 -10800 # Node ID 418777c1fbc7d4e5ceb21ab1990156fb564d991d # Parent 9d1e68d557bfd2e10d2995e017866ab3cafdff04 fix pylint error "(no-name-in-module) No name 'X' in module 'Y'" diff -r 9d1e68d557bf -r 418777c1fbc7 .pylint --- 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 diff -r 9d1e68d557bf -r 418777c1fbc7 tests/tools/check_source.sh --- 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=