swh-lister/tox.ini

29 lines
415 B
INI

[tox]
envlist=flake8,mypy,py3
[testenv]
extras =
testing
deps =
swh.core[http] >= 0.0.61
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]
extras =
testing
deps =
mypy
commands =
mypy swh