From 7752cd17d94d793557e5f031321b61c4f3d58ad3 Mon Sep 17 00:00:00 2001 From: Doug Wiegley Date: Fri, 26 Feb 2016 11:07:46 -0600 Subject: [PATCH] Switch to using hacking checks from neutron-lib Temporarily comment out the 'no neutron' check. Partially-Implements: blueprint neutron-lib Change-Id: Ic7a12fd0be0bbeb278771232eb9236c01b195bf2 --- tox.ini | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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