summaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorAngus Lees <gus@inodes.org>2014-10-22 09:24:21 +1100
committerAngus Lees <gus@inodes.org>2014-10-22 09:24:21 +1100
commitdb476ffc51e2f36f7ef9c187506fb2778363e468 (patch)
tree9111b1258bb2891b5e36cc7258a95fdc768b6530 /.pylintrc
parent1aaa8b34466b0567c6a5ea0b607f1ac324ee5dfa (diff)
downloadneutron-db476ffc51e2f36f7ef9c187506fb2778363e468.tar.gz
Enable no-name-in-module pylint check
Add _MovedItems (from six.moves) to pylintrc ignored-modules, and adjust one import of sqlalchemy.orm.properties.RelationshipProperty. s.o.p.RelationshipProperty is created at import-time in a rather exciting manner - rearranging the import in this way forces the import-time code to be executed and seems sufficient to satisfy the pylint static check. Change-Id: Ic99dc2b7dfac75930a5c446ae899eaae09ee6174
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.pylintrc b/.pylintrc
index c738c547c1..699f4192f1 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -25,7 +25,6 @@ disable=
maybe-no-member,
no-member,
no-method-argument,
- no-name-in-module,
no-self-argument,
not-callable,
no-value-for-parameter,
@@ -130,6 +129,10 @@ deprecated-modules=
# should use openstack.common.jsonutils
json
+[TYPECHECK]
+# List of module names for which member attributes should not be checked
+ignored-modules=six.moves,_MovedItems
+
[REPORTS]
# Tells whether to display a full report or only the messages
reports=no