Debian Codegraph @

tox.ini

raw
1 [tox]
2 envlist = py{39,310,311,312,313,314,315}
3 skip_missing_interpreters = true
4 isolated_build = true
5
6 [testenv]
7 deps =
8 -r requirements_full.txt
9 commands =
10 pytest --cov {posargs}
11
12 [testenv:formatting]
13 deps =
14 -r requirements_dev.txt
15 commands =
16 pre-commit run --all-files
17
18 [testenv:docs]
19 skipsdist = True
20 usedevelop = True
21 changedir = doc/
22 deps =
23 -r doc/requirements.txt
24 commands =
25 sphinx-build -E -W -j auto -b html . build
26
27 [testenv:doctest]
28 skipsdist = True
29 usedevelop = True
30 changedir = doc/
31 # Same interpreter as Read the Docs, for the reason given in .readthedocs.yaml.
32 # On an older one the template string examples fail instead of being checked.
33 basepython = python3.14
34 deps =
35 -r doc/requirements.txt
36 commands =
37 sphinx-build -E -W -b doctest . build/doctest
38
39 [testenv:linkcheck]
40 skipsdist = True
41 usedevelop = True
42 changedir = doc/
43 deps =
44 -r doc/requirements.txt
45 commands =
46 sphinx-build -E -W -b linkcheck . build/linkcheck