-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
35 lines (30 loc) · 616 Bytes
/
tox.ini
File metadata and controls
35 lines (30 loc) · 616 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
[tox]
envlist = py38 py39 py310, py311, py312, flake8, docs
skip_missing_interpreters = true
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
deps =
-r requirements/tests.txt
commands =
pytest
[testenv:flake8]
deps =
-r requirements/style.txt
commands =
flake8 --ignore E252 opentaal tests
[testenv:covarage]
deps =
-r requirements/tests.txt
commands =
pytest --cov=opentaal --cov-branch
[testenv:docs]
deps =
-r requirements/docs.txt
commands =
TODOsphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html