-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathtox.ini
More file actions
40 lines (32 loc) · 812 Bytes
/
tox.ini
File metadata and controls
40 lines (32 loc) · 812 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
40
[tox]
envlist = coverage-clean,py{314,313,312,311,py311},coverage-report,typing,docs
skip_missing_interpreters = true
[testenv]
package = wheel
wheel_build_env = .pkg
extras = all
dependency_groups = tests
allowlist_externals =
./run.sh
commands = coverage run --append -m pytest --runslow {posargs}
depends =
py{314,313,312,311,py311}: coverage-clean
coverage-report: py{314,313,312,311,py311}
[testenv:coverage-clean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
coverage html
./run.sh coverage-report
[testenv:typing]
package = editable
dependency_groups = typing
commands = mypy
[testenv:docs]
package = editable
dependency_groups = docs
commands = sphinx-build -E -W docs docs/_build/html