Merge "fix tox python3 overrides"
This commit is contained in:
commit
87a6f18dbf
7
tox.ini
7
tox.ini
|
@ -36,12 +36,15 @@ basepython = python3.5
|
|||
commands = oslo_debug_helper -t kuryr_libnetwork/tests {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
commands = flake8
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
basepython = python3
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
PYTHON=coverage run --source kuryr_libnetwork --parallel-mode
|
||||
|
@ -53,6 +56,7 @@ commands =
|
|||
coverage report
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3
|
||||
commands = python setup.py build_sphinx
|
||||
|
||||
[flake8]
|
||||
|
@ -63,6 +67,7 @@ show-source = true
|
|||
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,releasenotes
|
||||
|
||||
[testenv:pylint]
|
||||
basepython = python3
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
pylint
|
||||
|
@ -74,9 +79,11 @@ import_exceptions = kuryr.lib._i18n
|
|||
local-check-factory = neutron_lib.hacking.checks.factory
|
||||
|
||||
[testenv:genconfig]
|
||||
basepython = python3
|
||||
commands = {toxinidir}/tools/generate_config_file_samples.sh
|
||||
|
||||
[testenv:releasenotes]
|
||||
basepython = python3
|
||||
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[testenv:lower-constraints]
|
||||
|
|
Loading…
Reference in New Issue