Merge "Enable assignment-from-no-return pylint check"

This commit is contained in:
Jenkins 2014-11-11 03:31:19 +00:00 committed by Gerrit Code Review
commit 6605ba8771
2 changed files with 4 additions and 1 deletions

View File

@ -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,

View File

@ -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"