summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Smith <danms@us.ibm.com>2013-05-30 08:04:30 -0700
committerDan Smith <danms@us.ibm.com>2013-05-30 08:08:28 -0700
commit14b66b4ba69cdec45b9930a14c1bb19dae00e07f (patch)
tree2adb290a57bb60142894fac2184ce79fc998edfb
parent0e760b3e94c53e8f794609a60343b392e7ff595c (diff)
downloadnova-14b66b4ba69cdec45b9930a14c1bb19dae00e07f.tar.gz
nova-14b66b4ba69cdec45b9930a14c1bb19dae00e07f.tar.xz
nova-14b66b4ba69cdec45b9930a14c1bb19dae00e07f.zip
Make pylint ignore nova/objects/
The dynamic nature of our object model is going to cause lots of heartache for pylint, especially in the actual definitions. This just excludes that whole directory from pylint's view, which will limit the heartache to only everywhere objects are actually used. Related to blueprint unified-object-model Change-Id: I7f1a4b10b8a5098aab2ab2e8ea5da15ec43f0e2e
-rwxr-xr-xtools/lintstack.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lintstack.py b/tools/lintstack.py
index 5c4fb0a3a..cda5f0b3d 100755
--- a/tools/lintstack.py
+++ b/tools/lintstack.py
@@ -34,7 +34,9 @@ ignore_messages = ["An attribute affected in nova.tests"]
# Note(maoy): we ignore all errors in openstack.common because it should be
# checked elsewhere. We also ignore nova.tests for now due to high false
# positive rate.
-ignore_modules = ["nova/openstack/common/", "nova/tests/"]
+# Note(danms): we ignore all errors in nova.objects because the false
+# positive rate should be very high.
+ignore_modules = ["nova/openstack/common/", "nova/tests/", "nova/objects/"]
KNOWN_PYLINT_EXCEPTIONS_FILE = "tools/pylint_exceptions"