diff --git a/tox.ini b/tox.ini index 870f88c..83b868a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,35 +1,28 @@ [tox] envlist=flake8,mypy,py3 -[testenv:py3] +[testenv] deps = swh.core[http] .[testing] pytest-cov + dev: ipdb commands = - pytest --cov={envsitepackagesdir}/swh/loader/ --cov-branch \ + pytest \ + !dev: --cov={envsitepackagesdir}/swh/loader/ --cov-branch \ {envsitepackagesdir}/swh/loader/ {posargs} -[testenv:py3-dev] -deps = - swh.core[http] - .[testing] - pytest-cov - ipdb -commands = - pytest {envsitepackagesdir}/swh/loader/ {posargs} - [testenv:flake8] skip_install = true deps = flake8 commands = {envpython} -m flake8 [testenv:mypy] skip_install = true deps = .[testing] mypy commands = mypy swh