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.

96 lines
2.7 KiB

envlist = py38,pep8
minversion = 3.2.0
skipsdist = True
basepython = python3
setenv =
usedevelop = True
deps = -c{env:TOX_CONSTRAINTS_FILE:}
whitelist_externals = *
commands =
find . -type f -name "*.py[c|o]" -delete
bash tools/ '{posargs}'
commands =
neutron-db-manage --subproject networking-l2gw check_migration
commands = {posargs}
commands = python testr --coverage --testr-args='{posargs}'
deps = -c{env:TOX_CONSTRAINTS_FILE:}
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
commands =
pip install -q -e "git+"
pip install -q -e "git+"
commands =
deps =
commands =