-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
51 lines (36 loc) · 793 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
[tox]
minversion=3.20.1
requires=
virtualenv>=20.0.35
envlist =
test,mypy,pytype
[testenv]
description = run tests (unittest)
passenv = *
deps = pytest
commands =
pytest
[testenv:mypy]
description = run mypy (static type checker)
deps = mypy
commands =
mypy \
--cache-dir="{toxworkdir}/mypy_cache" \
{tty:--pretty:} \
{posargs:wpscan_out_parse}
[testenv:pytype]
description = Run pytype (another static type checker) on the code
deps =
pytype
.
commands =
pytype --keep-going ./wpscan_out_parse/
[testenv:apidocs]
description = build the documentation
deps =
docutils
pydoctor
passenv = *
whitelist_externals = bash
commands =
bash ./build_apidocs.sh