File tree 1 file changed +51
-0
lines changed
1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ [tox]
2
+ min_version = 4.4.0
3
+ envlist =
4
+ format
5
+ lint
6
+ coverage
7
+ py38
8
+ py39
9
+ py310
10
+ py311
11
+ py312
12
+ pypy3
13
+
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
46
+ deps =
47
+ coverage
48
+ commands =
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