Switch to using hacking checks from neutron-lib

Temporarily comment out the 'no neutron' check.

Change-Id: I8da2a5259528d05d58e2b6aa2fc34e3e0ae128a7
Partially-Implements: blueprint neutron-lib
This commit is contained in:
Doug Wiegley 2016-04-24 23:21:10 -05:00
parent b822c22c8f
commit 73043cdab2
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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