1
0
mirror of https://github.com/no2chem/wideq.git synced 2025-05-15 14:50:28 -07:00
wideq/tox.ini
Frederik Gladhorn b9f7ee26ec Add mypy to CI
2020-01-11 20:27:03 +01:00

31 lines
514 B
INI

[tox]
envlist = py36,py37,py38,flake8,coverage
isolated_build = True
[testenv]
extras = test
commands =
python -m unittest {posargs} discover -s tests
[testenv:flake8]
basepython = python3.7
deps =
flake8
commands =
flake8 {posargs} wideq/ tests/
[testenv:coverage]
basepytthon = python3.7
deps =
coverage
commands =
coverage run --source=wideq -m unittest {posargs} discover -s tests
coverage report
[testenv:mypy]
basepython = python3.7
deps =
mypy
commands =
mypy . --pretty