forked from chorsley/python-Wappalyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (39 loc) · 1.2 KB
/
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,docs
[testenv]
description = run tests (unittest)
passenv = *
extras = dev
commands =
pytest
[testenv:mypy]
description = run mypy (static type checker)
extras = dev
commands =
mypy \
--cache-dir="{toxworkdir}/mypy_cache" \
{tty:--pretty:} \
{posargs:Wappalyzer}
[testenv:docs]
description = build the documentation
extras = docs
deps = docutils
setenv =
TOX_INI_DIR = {toxinidir}
commands =
pydoctor \
./Wappalyzer \
--project-name=python-Wappalyzer \
--project-url=https://github.com/chorsley/python-Wappalyzer/ \
--html-viewsource-base=https://github.com/chorsley/python-Wappalyzer/tree/{posargs:master}/ \
--make-html \
--html-output={toxinidir}/apidocs \
--project-base-dir={toxinidir} \
--docformat=restructuredtext \
--intersphinx=https://docs.python.org/3/objects.inv \
--intersphinx=https://docs.aiohttp.org/en/stable/objects.inv \
--intersphinx=https://requests.readthedocs.io/en/stable/objects.inv