Merge "Switch to using hacking checks from neutron-lib"

This commit is contained in:
Jenkins 2016-05-09 20:05:08 +00:00 committed by Gerrit Code Review
commit 4dde2e792d
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