[tox]
envlist = code,docs,docs-linkcheck
-minversion = 2.0
+minversion = 4.0
skipsdist = true
; basic test and coverage jobs
[testenv:code]
-basepython = python3.8
+basepython = python3
deps=
pytest
coverage
# doc jobs
[testenv:docs]
allowlist_externals = echo
-basepython = python3.8
+basepython = python3
deps = -r{toxinidir}/docs/requirements-docs.txt
commands =
sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
[testenv:docs-linkcheck]
skipsdist = true
-basepython = python3.8
+basepython = python3
deps = -r{toxinidir}/docs/requirements-docs.txt
commands =
sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck