-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathtox.ini
More file actions
57 lines (52 loc) · 924 Bytes
/
tox.ini
File metadata and controls
57 lines (52 loc) · 924 Bytes
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
52
53
54
55
56
57
[tox]
envlist = py311,py312,py313,flake8,docs
isolated_build=true
[testenv]
skipsdist=true
skip_install=true
allowlist_externals =
rm
commands =
rm -f .coverage
coverage run {envbindir}/py.test -xv tests
coverage report -m
deps =
-e .[test,web]
coverage
pytest
[testenv:flake8]
skipsdist=true
skip_install=true
basepython = python3.12
commands =
flake8
deps =
flake8
[testenv:docs]
skip_install=false
skipsdist=true
basepython = python3.12
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.12
commands =
python -m irc3._parse_rfc
python -m irc3._gen_doc
deps =
[flake8]
exclude =
./irc3/compat.py
./.tox/*
./src/*
./docs*
./.eggs/
./.venv/
ignore = W605