Merge "Enable assignment-from-no-return pylint check"
This commit is contained in:
commit
6605ba8771
@ -19,7 +19,6 @@ disable=
|
||||
locally-disabled,
|
||||
# "E" Error for important programming issues (likely bugs)
|
||||
access-member-before-definition,
|
||||
assignment-from-no-return,
|
||||
bad-except-order,
|
||||
bad-super-call,
|
||||
maybe-no-member,
|
||||
|
@ -26,6 +26,10 @@ from neutron.plugins.vmware import nsxlib
|
||||
from neutron.plugins.vmware.nsxlib import switch
|
||||
from neutron.plugins.vmware.nsxlib import versioning
|
||||
|
||||
# @versioning.versioned decorator makes the apparent function body
|
||||
# totally unrelated to the real function. This confuses pylint :(
|
||||
# pylint: disable=assignment-from-no-return
|
||||
|
||||
HTTP_GET = "GET"
|
||||
HTTP_POST = "POST"
|
||||
HTTP_DELETE = "DELETE"
|
||||
|
Loading…
x
Reference in New Issue
Block a user