-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
47 lines (39 loc) · 783 Bytes
/
tox.ini
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
41
42
43
44
45
46
47
[tox]
env_list =
lint
mypy
clean
py{310,311,312,313}
covcombine
covreport
[testenv]
package = wheel
wheel_build_env = build_wheel
deps =
pytest
coverage
commands = coverage run -m pytest -v {posargs}
depends =
py{313,312,311,310}: covclean
covcombine: py{313,312,311,310}
covreport: covcombine
[testenv:covclean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:covcombine]
deps = coverage
skip_install = true
commands = coverage combine
[testenv:covreport]
deps = coverage
skip_install = true
commands_pre = coverage html --fail-under=0
commands = coverage report
[testenv:lint]
deps = pre-commit
skip_install = true
commands = pre-commit run -a
[testenv:mypy]
deps = mypy
commands = mypy click_type_test.py