-
-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (34 loc) · 608 Bytes
/
tox.ini
File metadata and controls
37 lines (34 loc) · 608 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
[tox]
requires =
tox>=4.2
env_list =
lint
py{314, 313, 312}
[testenv]
skip_install = true
deps =
-r dev-requirements.txt
-r requirements.txt
commands =
{envpython} -m pytest -vv \
tests/ \
--cov . \
--cov tests \
--cov-report html \
--cov-report term \
--cov-report xml \
{posargs}
[testenv:lint]
skip_install = true
deps =
pre-commit
pass_env =
PRE_COMMIT_COLOR
commands =
pre-commit run --all-files --show-diff-on-failure
[testenv:mypy]
skip_install = true
deps =
-r mypy-requirements.txt
commands =
mypy . {posargs}