diff --git a/tox.ini b/tox.ini index 76ad3da5a..71b2fb341 100644 --- a/tox.ini +++ b/tox.ini @@ -57,15 +57,17 @@ commands = ostestr --whitelist_file=tests-py3.txt # E265 block comment should start with ‘# ‘ # H405 multi line docstring summary not separated with an empty line # TODO(marun) H404 multi line docstring should start with a summary -# N324 contextlib.nested is deprecated -ignore = E125,E126,E128,E129,E265,H404,H405,N324 +# N524 contextlib.nested is deprecated +# TODO(dougwig) -- uncomment this to test for remaining linkages +# N530 direct neutron imports not allowed +ignore = E125,E126,E128,E129,E265,H404,H405,N524,N530 show-source = true builtins = _ exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,neutron_lbaas/tests/tempest/lib,neutron_lbaas/tests/tempest/v1/api [hacking] import_exceptions = neutron_lbaas._i18n -local-check-factory = neutron.hacking.checks.factory +local-check-factory = neutron_lib.hacking.checks.factory # If you are running the tests locally you should set the env variable # TEMPEST_CONFIG_DIR=/opt/stack/tempest/etc