diff --git a/requirements.txt b/requirements.txt index 1aa706f6..be1dd965 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,3 +14,4 @@ oslo.utils>=3.5.0 # Apache-2.0 python-neutronclient>=4.1.1 # Apache-2.0 pyroute2>=0.3.10 # Apache-2.0 (+ dual licensed GPL2) os-client-config>=1.13.1 # Apache-2.0 +neutron-lib>=0.1.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 33656334..7e50dfa4 100644 --- a/tox.ini +++ b/tox.ini @@ -53,7 +53,9 @@ commands = python setup.py build_sphinx # E129 visually indented line with same indent as next logical line # E265 block comment should start with '# ' # H402 one line docstring needs punctuation -ignore = E125,E126,E128,E129,E265,H301,H402 +# TODO(dougwig) -- uncomment this to test for remaining linkages +# N530 direct neutron imports not allowed +ignore = E125,E126,E128,E129,E265,H301,H402,N530 show-source = true # TODO(dougw) neutron/tests/unit/vmware exclusion is a temporary services split hack @@ -68,7 +70,7 @@ commands = [hacking] import_exceptions = neutron.i18n -local-check-factory = neutron.hacking.checks.factory +local-check-factory = neutron_lib.hacking.checks.factory [testenv:genconfig] commands = oslo-config-generator --config-file=etc/kuryr-config-generator.conf