-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
43 lines (38 loc) · 835 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
[tox]
envlist = py38, py39, lint, coverage, package_description
skip_missing_interpreters=True
basepython =
lint: python3.8
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
[coverage:html]
show_contexts = true
[testenv]
deps =
-r {toxinidir}/requirements.txt
commands =
pip install -U pip
pytest
[testenv:lint]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/eule
deps =
{[testenv]deps}
mypy[python3]<0.980
docutils
Pygments
types-mock
commands =
mypy flowstep/ tests/
[testenv:package_description]
description = check that the long description is valid
deps =
{[testenv]deps}
twine >= 1.12.1
readme-renderer[md] >= 24.0
skip_install = true
extras =
commands = pip wheel -w {envtmpdir}/build --no-deps .
twine check {envtmpdir}/build/*