-
-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathtox.ini
More file actions
44 lines (39 loc) · 667 Bytes
/
tox.ini
File metadata and controls
44 lines (39 loc) · 667 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
38
39
40
41
42
43
44
[tox]
requires =
tox>=4.2
env_list =
docs
lint
mypy
py{py3, 315, 314, 313, 312, 311, 310}
[testenv]
extras =
tests
pass_env =
FORCE_COLOR
commands =
{envpython} -m pytest \
--cov humanize \
--cov tests \
--cov-report html \
--cov-report term \
--cov-report xml \
{posargs}
[testenv:docs]
deps =
-r docs/requirements.txt
commands =
mkdocs build
[testenv:lint]
skip_install = true
deps =
prek
commands =
prek run --all-files --show-diff-on-failure
[testenv:mypy]
deps =
-r requirements-mypy.txt
commands =
mypy . {posargs}
[pytest]
addopts = --color=yes --doctest-modules