-
Notifications
You must be signed in to change notification settings - Fork 46
/
tox.ini
46 lines (42 loc) · 789 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
[tox]
envlist = py37,py38,py39,py310,py311,flake8,docs
[testenv]
skipsdist=true
skip_install=true
allowlist_externals =
rm
commands =
rm -f .coverage
coverage run {envbindir}/py.test -xv []
coverage report -m
deps =
-e .[test,web]
coverage
pytest
[testenv:flake8]
skipsdist=true
skip_install=true
basepython = python3.8
commands =
flake8
deps =
flake8
[testenv:docs]
skip_install=false
skipsdist=true
basepython = python3.8
changedir = docs
deps =
sphinx
Pygments
commands =
rm -Rf {envtmpdir}/doctrees {envtmpdir}/html
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:build]
skip_install=false
skipsdist=true
basepython = python3.8
commands =
python -m irc3._parse_rfc
python -m irc3._gen_doc
deps =