23 lines
438 B
INI
23 lines
438 B
INI
|
[tox]
|
||
|
minversion = 3.8.0
|
||
|
envlist = py38, py39, py310, py311, flake8, mypy
|
||
|
insolated_build = true
|
||
|
|
||
|
[testenv:flake8]
|
||
|
basepython = python3.8
|
||
|
deps = flake8
|
||
|
commands = flake8 sampy tests
|
||
|
|
||
|
[testenv:mypy]
|
||
|
basepython = python3.8
|
||
|
deps =
|
||
|
-r{toxinidir}/requirements_dev.txt
|
||
|
commands = mypy sampy
|
||
|
|
||
|
[testenv]
|
||
|
setenv =
|
||
|
PYTHONPATH = {toxinidir}
|
||
|
deps =
|
||
|
-r{toxinidir}/requirements_dev.txt
|
||
|
commands =
|
||
|
python -m pytest --basetemp={envtmpdir}
|