forked from acsone/manifestoo-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
74 lines (67 loc) · 1.17 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
66
67
68
69
70
71
72
73
74
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38, typing
3.9: py39, typing
3.10: py310, typing
3.11: py311, typing, pypi-description
3.12: py312
pypy3: pypy3
[tox]
isolated_build = True
envlist =
py36
py37
py38
py39
py310
py311
py312
pypy3
lint
typing
docs
pypi-description
mk-core-addons
[testenv]
skip_missing_interpreters = True
extras =
test
metadata
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_core tests
[testenv:docs]
basepython = python3.11
extras = doc
commands =
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/*
[testenv:mk-core-addons]
basepython = python3.11
commands =
./mk_core_addons
passenv = *