summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 7901874e6adae0bb53ea8fef70bfbb00f66ea7f8 (plain)
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
[tox]
envlist =
    py3{12,11,10,9,8,7}
    pypy39
    style
    typing
    docs
skip_missing_interpreters = true

[testenv]
package = wheel
deps = -r requirements/tests.txt
commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs}

[testenv:style]
deps = pre-commit
skip_install = true
commands = pre-commit run --all-files

[testenv:typing]
package = wheel
deps = -r requirements/typing.txt
commands = mypy

[testenv:docs]
package = wheel
deps = -r requirements/docs.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html