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 = | ||||
# the dependency below is needed for now as a workaround for | # the dependency below is needed for now as a workaround for | ||||
# https://github.com/pypa/pip/issues/6239 | # https://github.com/pypa/pip/issues/6239 | ||||
# TODO: remove when this issue is fixed | # TODO: remove when this issue is fixed | ||||
swh.core[http] >= 0.0.61 | swh.core[http] >= 0.0.61 | ||||
swh.storage[testing] | |||||
pytest-cov | pytest-cov | ||||
commands = | commands = | ||||
pytest --cov={envsitepackagesdir}/swh/loader/git \ | pytest --cov={envsitepackagesdir}/swh/loader/git \ | ||||
{envsitepackagesdir}/swh/loader/git \ | {envsitepackagesdir}/swh/loader/git \ | ||||
--cov-branch {posargs} | --cov-branch {posargs} | ||||
[testenv:black] | [testenv:black] | ||||
skip_install = true | skip_install = true | ||||
Show All 19 Lines |