mirror of
https://github.com/kristoferssolo/Traffic-Light-Detector.git
synced 2025-10-21 20:00:36 +00:00
28 lines
464 B
INI
28 lines
464 B
INI
[tox]
|
|
minversion = 3.8.0
|
|
envlist = py310, flake8, mypy
|
|
isolated_build = true
|
|
|
|
[gh-actions]
|
|
python =
|
|
3.10: py310, mypy, flake8
|
|
|
|
[testenv]
|
|
setenv =
|
|
PYTHONPATH = {toxinidir}
|
|
deps =
|
|
-r{toxinidir}/requirements_dev.txt
|
|
commands =
|
|
pytest --basetemp={envtmpdir}
|
|
|
|
[testenv:flake8]
|
|
basepython = python3.10
|
|
deps = flake8
|
|
commands = flake8 src tests
|
|
|
|
[testenv:mypy]
|
|
basepython = python3.10
|
|
deps =
|
|
-r{toxinidir}/requirements_dev.txt
|
|
commands = mypy src
|