-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
54 lines (50 loc) · 891 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
44
45
46
47
48
49
50
51
52
53
54
[tox]
min_version = 4.0
env_list =
py312
py311
py310
py39
py38
py37
lint
type
isolated_build = true
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_tests.txt
commands =
pytest tests --basetemp={envtmpdir}
pytest tests_integration --basetemp={envtmpdir} \
--capture=no -vvvv --full-trace
[testenv:lint]
deps =
-r{toxinidir}/requirements_tests.txt
skip_install = true
setenv =
PYTHONPATH = {toxinidir}
commands =
python --version
flake8 src
flake8 tests
flake8 tests_integration
[testenv:type]
deps =
-r{toxinidir}/requirements_tests.txt
setenv =
PYTHONPATH = {toxinidir}
commands =
python --version
mypy src
mypy tests
mypy tests_integration
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312