Switch to using hacking checks from neutron-lib
Temporarily comment out the 'no neutron' check. Partially-Implements: blueprint neutron-lib Change-Id: Ic7a12fd0be0bbeb278771232eb9236c01b195bf2
This commit is contained in:
parent
98403aba44
commit
7752cd17d9
8
tox.ini
8
tox.ini
|
@ -57,15 +57,17 @@ commands = ostestr --whitelist_file=tests-py3.txt
|
|||
# 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
|
||||
# N324 contextlib.nested is deprecated
|
||||
ignore = E125,E126,E128,E129,E265,H404,H405,N324
|
||||
# N524 contextlib.nested is deprecated
|
||||
# TODO(dougwig) -- uncomment this to test for remaining linkages
|
||||
# N530 direct neutron imports not allowed
|
||||
ignore = E125,E126,E128,E129,E265,H404,H405,N524,N530
|
||||
show-source = true
|
||||
builtins = _
|
||||
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,neutron_lbaas/tests/tempest/lib,neutron_lbaas/tests/tempest/v1/api
|
||||
|
||||
[hacking]
|
||||
import_exceptions = neutron_lbaas._i18n
|
||||
local-check-factory = neutron.hacking.checks.factory
|
||||
local-check-factory = neutron_lib.hacking.checks.factory
|
||||
|
||||
# If you are running the tests locally you should set the env variable
|
||||
# TEMPEST_CONFIG_DIR=/opt/stack/tempest/etc
|
||||
|
|
Loading…
Reference in New Issue