Merge "Replaced savanna word with mistralclient"

This commit is contained in:
Jenkins
2016-10-27 17:42:09 +00:00
committed by Gerrit Code Review

View File

@@ -30,11 +30,11 @@ from pylint.reporters import text
# Note(maoy): E1103 is error code related to partial type inference # Note(maoy): E1103 is error code related to partial type inference
ignore_codes = ["E1103"] ignore_codes = ["E1103"]
# Note(maoy): the error message is the pattern of E0202. It should be ignored # Note(maoy): the error message is the pattern of E0202. It should be ignored
# for savanna.tests modules # for mistralclient.tests modules
ignore_messages = ["An attribute affected in savanna.tests"] ignore_messages = ["An attribute affected in mistralclient.tests"]
# We ignore all errors in openstack.common because it should be checked # We ignore all errors in openstack.common because it should be checked
# elsewhere. # elsewhere.
ignore_modules = ["savanna/openstack/common/"] ignore_modules = ["mistralclient/openstack/common/"]
KNOWN_PYLINT_EXCEPTIONS_FILE = "tools/pylint_exceptions" KNOWN_PYLINT_EXCEPTIONS_FILE = "tools/pylint_exceptions"
@@ -129,7 +129,7 @@ class ErrorKeys(object):
def run_pylint(): def run_pylint():
buff = StringIO.StringIO() buff = StringIO.StringIO()
reporter = text.ParseableTextReporter(output=buff) reporter = text.ParseableTextReporter(output=buff)
args = ["--include-ids=y", "-E", "savanna"] args = ["--include-ids=y", "-E", "mistralclient"]
lint.Run(args, reporter=reporter, exit=False) lint.Run(args, reporter=reporter, exit=False)
val = buff.getvalue() val = buff.getvalue()
buff.close() buff.close()