-
Notifications
You must be signed in to change notification settings - Fork 17
/
tox.ini
65 lines (59 loc) · 1.1 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39, typing
3.10: py310, typing
3.11: py311, typing, pypi-description
3.12: py312, typing
pypy3: pypy3
[tox]
isolated_build = True
envlist =
py37
py38
py39
py310
py311
py312
pypy3
lint
typing
docs
pypi-description
mk-core-addons
[testenv]
skip_missing_interpreters = True
extras = test
commands =
coverage run -m pytest {posargs}
coverage xml
coverage html
[testenv:lint]
basepython = python3.11
skip_install = true
deps =
pre-commit
passenv = HOMEPATH # needed on Windows
commands =
pre-commit run --all-files
[testenv:typing]
deps = mypy>=0.800
commands =
mypy --strict src/manifestoo
[testenv:docs]
basepython = python3.11
extras = doc
commands =
typer manifestoo.main utils docs --name manifestoo --output docs/cli.md
make -C docs html
allowlist_externals = make
[testenv:pypi-description]
basepython = python3.11
skip_install = true
deps =
twine
pip >= 18.0.0
commands =
pip wheel -w {envtmpdir}/build --no-deps .
twine check {envtmpdir}/build/*