-
-
Notifications
You must be signed in to change notification settings - Fork 356
/
Copy pathtox.ini
55 lines (50 loc) · 800 Bytes
/
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
[tox]
minversion = 4.0.16
envlist=
lint
mypy
py
docs
packaging
[testenv]
description = Runs unittests
extras =
test
typing
commands=
pytest {posargs:-v -n 4 --cov testinfra --cov-report xml --cov-report term test}
usedevelop=True
passenv=
HOME
TRAVIS
DOCKER_CERT_PATH
DOCKER_HOST
DOCKER_TLS_VERIFY
WSL_DISTRO_NAME
[testenv:lint]
description = Performs linting tasks
skip_install = true
deps =
pre-commit>=2.6.0
ruff
commands=
pre-commit run -a
[testenv:mypy]
description = Performs typing check
extras =
typing
usedevelop=True
commands=
mypy
[testenv:docs]
extras =
doc
commands=
sphinx-build -W -b html doc/source doc/build
[testenv:packaging]
description = Validate project packaging
skip_install = true
deps=
build
commands=
{envpython} -m build