| 1 | [tox] |
| 2 | envlist = |
| 3 | py3{14,13,12,11,10},pypy3{10} |
| 4 | py-{no-babel} |
| 5 | style |
| 6 | docs |
| 7 | |
| 8 | [testenv] |
| 9 | runner = uv-venv-lock-runner |
| 10 | dependency_groups = |
| 11 | test |
| 12 | test-babel |
| 13 | commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs} |
| 14 | |
| 15 | [testenv:py-no-babel] |
| 16 | runner = uv-venv-lock-runner |
| 17 | dependency_groups = test |
| 18 | commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs} |
| 19 | |
| 20 | [testenv:style] |
| 21 | runner = uv-venv-lock-runner |
| 22 | dependency_groups = dev |
| 23 | skip_install = true |
| 24 | commands = pre-commit run --all-files --show-diff-on-failure |
| 25 | |
| 26 | [testenv:docs] |
| 27 | runner = uv-venv-lock-runner |
| 28 | dependency_groups = docs |
| 29 | commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html |