API's and implementations to support L2 Gateways in Neutron.
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.

94 lines
2.6 KiB

envlist = py36,py37,pep8
minversion = 3.2.0
skipsdist = True
basepython = python3
setenv =
usedevelop = True
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
whitelist_externals = *
commands =
find . -type f -name "*.py[c|o]" -delete
bash tools/pretty_tox_serial.sh '{posargs}'
commands =
neutron-db-manage --subproject networking-l2gw check_migration
commands = {posargs}
commands = python setup.py testr --coverage --testr-args='{posargs}'
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
commands = sphinx-build -W -d doc/build/doctrees -b html doc/source doc/build/html
envdir = {toxworkdir}/docs
deps = {[testenv:docs]deps}
whitelist_externals =
commands =
sphinx-build -W -b latex doc/source doc/build/pdf
make -C doc/build/pdf
# H803 skipped on purpose per list discussion.
# H302 import only modules
# E123 skipped as they are invalid PEP-8.
# H904 Wrap long lines in parentheses instead of a backslash
# W504 line break after binary operator
show-source = True
ignore = E123,H803,H302,H904,W504
builtins = _
import-order-style = pep8
import_exceptions = networking_l2gw._i18n
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
# separately, outside of the requirements files, and develop mode disabled
# explicitly to avoid unnecessarily installing the checked-out repo too (this
# further relies on "tox.skipsdist = True" above).
deps = bindep
commands = bindep test
usedevelop = False
deps =
# run locally (not in the gate) using editable mode
# https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs
commands =
pip install -q -e "git+https://opendev.org/openstack/neutron#egg=neutron"
commands =
deps =
commands =