This repository was archived by the owner on Apr 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 134
Expand file tree
/
Copy pathtox.ini
More file actions
49 lines (38 loc) · 1.2 KB
/
tox.ini
File metadata and controls
49 lines (38 loc) · 1.2 KB
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
[tox]
minversion=3.20.1
requires=
virtualenv>=20.0.35
envlist =
test,mypy,docs
[testenv:test]
description = run tests (unittest)
passenv = *
extras = dev
commands =
pytest -vv
[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
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 --quiet \
--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