swh-lister/tox.ini
2019-11-21 13:33:42 +01:00

28 lines
423 B
INI

[tox]
envlist=flake8,mypy,py3
[testenv]
deps =
swh.core[http] >= 0.0.61
.[testing]
pytest-cov
dev: ipdb
commands =
pytest \
!dev: --cov={envsitepackagesdir}/swh/lister/ --cov-branch \
{envsitepackagesdir}/swh/lister/ {posargs}
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
{envpython} -m flake8
[testenv:mypy]
skip_install = true
deps =
.[testing]
mypy
commands =
mypy swh