From 8c9af44851f665ffe4ee31ad413b114d469ac7af Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Sun, 16 Apr 2017 18:48:34 -0700 Subject: [PATCH] Disable new N537 hacking check from next neutron-lib Once a new neutron-lib release will be cut off, the new hacking check will break the pep8 target because the code still uses translation markers for log messages. Instead of fixing all remaining log messages and hoping no new messages land before neutron-lib release, we temporarily disable the check; we will reenable it back once we have a neutron-lib release in gate that we can validate the patch removing translation markers against. Change-Id: Icef59a03184473476e0657334bcc30dc7bf4f9ff --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 55f11f964..578a09fef 100644 --- a/tox.ini +++ b/tox.ini @@ -90,7 +90,9 @@ commands = python setup.py build_sphinx # TODO(marun) H404 multi line docstring should start with a summary # TODO(dougwig) -- uncomment this to test for remaining linkages # N530 direct neutron imports not allowed -ignore = E125,E126,E128,E129,E265,H404,H405,N530 +# TODO(ihrachys) -- reenable N537 when new neutron-lib release is available +# N537 Log messages should not be translated +ignore = E125,E126,E128,E129,E265,H404,H405,N530,N537 enable-extensions=H904 show-source = true exclude = .venv,.git,.tox,dist,doc,*lib/python*,.tmp,*egg,build,tools,.ropeproject,rally-scenarios