Debian Codegraph @

tox.ini

raw symbols SCIP
1 [tox]
2 envlist=py{38,39,310,311,312,pypy311},docs,linting
3 isolated_build = true
4
5 [testenv]
6 usedevelop=true
7 setenv =
8 PYTHONWARNDEFAULTENCODING = 1
9 deps=
10 pytest
11 pytest-timeout
12 passenv = GITHUB_ACTIONS, HOME, USER, XDG_*
13 commands=
14 python -m pytest {posargs:testing}
15
16 [testenv:docs]
17 skipsdist = True
18 usedevelop = True
19 changedir = doc
20 deps =
21 sphinx
22 PyYAML
23 commands =
24 sphinx-build -W -b html . _build
25
26 [testenv:linting]
27 skip_install = True
28 deps = pre-commit>=1.11.0
29 commands = pre-commit run --all-files --show-diff-on-failure
30
31 [pytest]
32 timeout = 20
33 addopts = -ra
34 testpaths = testing