Changeset View
Changeset View
Standalone View
Standalone View
tox.ini
[tox] | [tox] | ||||
envlist=black,flake8,mypy,py3 | envlist=black,flake8,mypy,py3 | ||||
[testenv] | [testenv] | ||||
extras = | extras = | ||||
testing | testing | ||||
deps = | deps = | ||||
swh.core[http] | swh.core[http] | ||||
swh.storage[testing] # otherwise, somehow pytest-postgresql is not seen | swh.storage[testing] | ||||
ardumont: Can't we remove those? | |||||
Done Inline ActionsWell, that's the way to explicit that we're using the pytest plugins from each of these modules, so I don't think so. olasd: Well, that's the way to explicit that we're using the pytest plugins from each of these modules… | |||||
swh.scheduler[testing] >= 0.5.0 | |||||
pytest-cov | pytest-cov | ||||
dev: pdbpp | dev: pdbpp | ||||
commands = | commands = | ||||
pytest \ | pytest \ | ||||
!dev: --cov={envsitepackagesdir}/swh/loader/ --cov-branch \ | !dev: --cov={envsitepackagesdir}/swh/loader/ --cov-branch \ | ||||
{envsitepackagesdir}/swh/loader/ {posargs} | {envsitepackagesdir}/swh/loader/ {posargs} | ||||
[testenv:black] | [testenv:black] | ||||
Show All 20 Lines |
Can't we remove those?