-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
65 lines (55 loc) · 1.16 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[tox]
envlist =
coverage_erase
py{3.14, 3.13, 3.12, 3.11, 3.10, 3.9}{-brotli, }{-zopfli, }
coverage_report
labels =
update=update
[testenv]
description = Run the test suite ({env_name})
deps =
blinker
coverage[toml]
pytest
pyfakefs
brotli: brotli
zopfli: zopfli
package = wheel
wheel_build_env = build_wheel
depends =
py{3.14, 3.13, 3.12, 3.11, 3.10, 3.9}{-brotli, }{-zopfli, }: coverage_erase
commands = coverage run -m pytest
[testenv:coverage_erase]
description = Erase .coverage* files before testing
skip_install = True
deps =
coverage[toml]
commands =
{envpython} -m coverage erase
[testenv:coverage_report]
description = Report code coverage after testing
skip_install = True
deps =
coverage[toml]
depends =
py{3.14, 3.13, 3.12, 3.11, 3.10, 3.9}{-brotli, }{-zopfli, }
commands_pre =
coverage combine
coverage html --fail-under=0
commands =
coverage report
[testenv:update]
description = Update pre-commit hook versions
skip_install = True
recreate = True
deps =
pre-commit
upadup
commands =
pre-commit autoupdate
upadup
[flake8]
max-line-length = 88
extend-ignore =
E203,
E501,