1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
[tox]
requires =
tox>=4.2
env_list =
docs
pre-commit
python3.{14, 13, 12, 11, 10}
skip_missing_interpreters = true
[testenv]
deps =
-r{toxinidir}/requirements/runtime.txt
-r{toxinidir}/requirements/tests.txt
commands =
pytest
[testenv:docs]
base_python = python3.14
deps =
-r{toxinidir}/requirements/docs.txt
-r{toxinidir}/requirements/tests.txt
commands =
make doc
allowlist_externals =
cmd
make
mkdocs
[testenv:pre-commit]
base_python = python
deps =
pre-commit
commands =
pre-commit autoupdate
pre-commit run --all-files
|