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
This commit is contained in:
parent
16c37c1e0f
commit
705f1da49b
6
tox.ini
6
tox.ini
@ -120,10 +120,12 @@ commands = sphinx-build -W -b html doc/source doc/build/html
|
||||
# H404 multi line docstring should start with a summary
|
||||
# H405 multi line docstring summary not separated with an empty line
|
||||
# N530 direct neutron imports not allowed
|
||||
# TODO(ihrachys) figure out what to do with N534 and N536
|
||||
# N534 Untranslated exception message
|
||||
# N536 Use assertIsNone rather than assertEqual to check for None values
|
||||
# TODO(ihrachys) figure out what to do with N534 and N536
|
||||
ignore = E125,E126,E128,E129,E265,H404,H405,N530,N534,N536
|
||||
# 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,N534,N536,N537
|
||||
# H904: Delay string interpolations at logging calls
|
||||
enable-extensions=H904
|
||||
show-source = true
|
||||
|
Loading…
Reference in New Issue
Block a user