skipsdist = True
[testenv]
-pip_version = pip==20.2.4
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
[testenv:pep8]
basepython = python3.8
+skip_install = True
commands = flake8 {toxinidir}
[testenv:lint]
basepython = python3.8
+skip_install = True
commands = pylint --rcfile pylint.rc nfvbench test
-[testenv:venv]
-basepython = python3.8
-commands = {posargs}
-
-[testenv:cover]
-basepython = python3.8
-commands = python setup.py testr --coverage --testr-args='{posargs}'
-
[flake8]
# H803 skipped on purpose per list discussion.
# E123, E125 skipped as they are invalid PEP-8.
deps =
-chttps://opendev.org/openstack/requirements/raw/branch/stable/yoga/upper-constraints.txt
-rdocs/requirements.txt
+skip_install = True
commands =
sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
echo "Generated docs available in {toxinidir}/docs/_build/html"
deps =
-chttps://opendev.org/openstack/requirements/raw/branch/stable/yoga/upper-constraints.txt
-rdocs/requirements.txt
+skip_install = True
passenv = http_proxy https_proxy no_proxy
commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck