From 393d4c6bb8bdf32d22c013b9a2398d9b9e22a281 Mon Sep 17 00:00:00 2001 From: Doug Wiegley Date: Sun, 24 Apr 2016 23:21:53 -0500 Subject: [PATCH] Switch to using hacking checks from neutron-lib Temporarily comment out the 'no neutron' check. Change-Id: I4521132b14e924df76418fe0053ef0be0a3c4c60 Partially-Implements: blueprint neutron-lib --- tox.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 04aa6aa61..08f443590 100644 --- a/tox.ini +++ b/tox.ini @@ -100,13 +100,15 @@ commands = sphinx-build -W -b html doc/source doc/build # 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 +# TODO(dougwig) -- uncomment this to test for remaining linkages +# 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 [hacking] import_exceptions = neutron_vpnaas._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