summaryrefslogtreecommitdiff
path: root/tox.ini
blob: e1794d58f39e124631276ca1a4bca0e2a38e6abd (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
[tox]
envlist = py{38,39,310,311}
skip_missing_interpreters = true
isolated_build = true

[testenv]
deps =
  -r requirements_full.txt
commands =
  pytest --cov {posargs}

[testenv:formatting]
deps =
    -r requirements_dev.txt
commands =
    pre-commit run --all-files

[testenv:docs]
skipsdist = True
usedevelop = True
changedir = doc/
deps =
    -r doc/requirements.txt
commands =
    sphinx-build -E -b html . build