-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
31 lines (27 loc) · 628 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
[tox]
minversion = 3.8.0
envlist = py38, py39, flake8 #, mypy
isolated_build = true
[gh-actions]
python =
3.8: py38, flake8 #, mypy
3.9: py39
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_additional_build_agent.txt
commands =
pytest --basetemp={envtmpdir}
[testenv:flake8]
basepython = python3.8
deps = flake8
commands = flake8 src tests
# [testenv:mypy]
# basepython = python3.8
# deps =
# -r{toxinidir}/requirements.txt
# -r{toxinidir}/requirements_additional_build_agent.txt
# types-requests>=2.26.0
# commands = mypy src