diff --git a/tox.ini b/tox.ini index 2b23ff89..f7c5a213 100644 --- a/tox.ini +++ b/tox.ini @@ -76,7 +76,8 @@ commands = python setup.py build_sphinx # 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 -ignore = E125,E126,E128,E129,E265,H404,H405 +# N530 direct neutron imports not allowed +ignore = E125,E126,E128,E129,E265,H404,H405,N530 show-source = true exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios @@ -89,7 +90,7 @@ commands = [hacking] import_exceptions = neutron_dynamic_routing._i18n -local-check-factory = neutron.hacking.checks.factory +local-check-factory = neutron_lib.hacking.checks.factory [testenv:genconfig] commands = {toxinidir}/tools/generate_config_file_samples.sh