File tree Expand file tree Collapse file tree 1 file changed +46
-8
lines changed
Expand file tree Collapse file tree 1 file changed +46
-8
lines changed Original file line number Diff line number Diff line change 11[tox]
2- env_list =
2+ min_version = 4.4.0
3+ envlist =
4+ format
5+ lint
6+ coverage
7+ py38
8+ py39
39 py310
4- minversion = 4.11.3
10+ py311
11+ py312
12+ pypy3
513
6- [testenv]
7- description = run the tests with pytest
8- package = wheel
9- wheel_build_env = .pkg
14+ [testenv:test]
15+ description = run the distribution tests
16+ use_develop = true
17+ skip_install = false
18+ constrain_package_deps = true
19+ commands =
20+ pytest run_tests.py
21+ extras =
22+ test
23+
24+ [testenv:format]
25+ description = automatically reformat code
26+ skip_install = true
27+ deps =
28+ pre-commit
29+ commands =
30+ pre-commit run -a pyupgrade
31+ pre-commit run -a isort
32+ pre-commit run -a black
33+
34+ [testenv:lint]
35+ description = run linters that will help improve the code style
36+ skip_install = true
37+ deps =
38+ pre-commit
39+ commands =
40+ pre-commit run -a
41+
42+ [testenv:coverage]
43+ description = get a test coverage report
44+ use_develop = true
45+ skip_install = false
1046deps =
11- pytest>=6
47+ coverage
1248commands =
13- pytest {tty:--color =yes} run_tests.py {posargs}
49+ pytest run_tests.py --cov --cov-report term-missing
50+ extras =
51+ test
You can’t perform that action at this time.
0 commit comments