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:
parent
b822c22c8f
commit
73043cdab2
@ -14,3 +14,4 @@ oslo.utils>=3.5.0 # Apache-2.0
|
|||||||
python-neutronclient>=4.1.1 # Apache-2.0
|
python-neutronclient>=4.1.1 # Apache-2.0
|
||||||
pyroute2>=0.3.10 # Apache-2.0 (+ dual licensed GPL2)
|
pyroute2>=0.3.10 # Apache-2.0 (+ dual licensed GPL2)
|
||||||
os-client-config>=1.13.1 # Apache-2.0
|
os-client-config>=1.13.1 # Apache-2.0
|
||||||
|
neutron-lib>=0.1.0 # Apache-2.0
|
||||||
|
6
tox.ini
6
tox.ini
@ -53,7 +53,9 @@ commands = python setup.py build_sphinx
|
|||||||
# E129 visually indented line with same indent as next logical line
|
# E129 visually indented line with same indent as next logical line
|
||||||
# E265 block comment should start with '# '
|
# E265 block comment should start with '# '
|
||||||
# H402 one line docstring needs punctuation
|
# 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
|
show-source = true
|
||||||
|
|
||||||
# TODO(dougw) neutron/tests/unit/vmware exclusion is a temporary services split hack
|
# TODO(dougw) neutron/tests/unit/vmware exclusion is a temporary services split hack
|
||||||
@ -68,7 +70,7 @@ commands =
|
|||||||
|
|
||||||
[hacking]
|
[hacking]
|
||||||
import_exceptions = neutron.i18n
|
import_exceptions = neutron.i18n
|
||||||
local-check-factory = neutron.hacking.checks.factory
|
local-check-factory = neutron_lib.hacking.checks.factory
|
||||||
|
|
||||||
[testenv:genconfig]
|
[testenv:genconfig]
|
||||||
commands = oslo-config-generator --config-file=etc/kuryr-config-generator.conf
|
commands = oslo-config-generator --config-file=etc/kuryr-config-generator.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user