mirror of
https://github.com/no2chem/wideq.git
synced 2025-05-17 15:50:10 -07:00
24 lines
433 B
INI
24 lines
433 B
INI
[tox]
|
|
envlist = py34,py35,py36,py37,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
|