forked from tristanlatr/burpa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
43 lines (34 loc) · 739 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
[tox]
minversion=3.20.1
requires=
virtualenv>=20.0.35
envlist =
mypy,pytype
allowlist_externals =
sh
[testenv]
[testenv:mypy]
description = run mypy (static type checker)
deps =
mypy
types-requests
types-python-dateutil
commands =
python -m mypy \
--cache-dir="{toxworkdir}/mypy_cache" \
{tty:--pretty:} \
{posargs:burpa}
[testenv:pytype]
description = Run pytype (another static type checker) on the code
deps =
pytype
.
commands =
pytype --keep-going ./burpa/
[testenv:apidocs]
description = build API documentation
deps =
pydoctor>=21.12.0
whitelist_externals = bash
commands =
bash ./docs/apidocs.sh