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
This commit is contained in:
parent
0e760b3e94
commit
14b66b4ba6
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user