Bridge between container framework networking and storage models to OpenStack networking and storage abstractions.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.2 KiB

minversion = 1.6
envlist = py35,py34,py27,pep8
skipsdist = True
# Note the hash seed is set to 0 until neutron can be tested with a
# random hash seed successfully.
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command =
pip install -U -c{env:UPPER_CONSTRAINTS_FILE:} {opts} {packages}
deps = -r{toxinidir}/requirements.txt
whitelist_externals = sh
commands = find . -type f -name "*.py[c|o]" -delete
find . -type d -name "__pycache__" -delete
sh tools/ '{posargs}'
basepython = python2.7
setenv = OS_TEST_PATH=./kuryr/tests/fullstack
commands = oslo_debug_helper {posargs}
basepython = python2.7
commands = oslo_debug_helper {posargs}
basepython = python3.4
commands = oslo_debug_helper {posargs}
commands = flake8
commands = {posargs}
commands =
python test --coverage --testr-args='{posargs}' \
coverage report
commands = python build_sphinx
# E125 continuation line does not distinguish itself from next logical line
# E126 continuation line over-indented for hanging indent
# E128 continuation line under-indented for visual indent
# E129 visually indented line with same indent as next logical line
# E265 block comment should start with '# '
# H402 one line docstring needs punctuation
# N530 direct neutron imports not allowed
ignore = E125,E126,E128,E129,E265,H301,H402,N530
show-source = true
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios
deps =
commands =
pylint --rcfile=.pylintrc --output-format=colorized {posargs:neutron}
import_exceptions = neutron.i18n
local-check-factory = neutron_lib.hacking.checks.factory
commands = oslo-config-generator --config-file=etc/kuryr-config-generator.conf