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 = | ||||
pytest-cov | pytest-cov | ||||
commands = | commands = | ||||
pytest --doctest-modules \ | pytest --doctest-modules \ | ||||
{envsitepackagesdir}/swh/provenance \ | {envsitepackagesdir}/swh/provenance \ | ||||
--cov={envsitepackagesdir}/swh/provenance \ | --cov={envsitepackagesdir}/swh/provenance \ | ||||
--cov-branch {posargs} | --cov-branch {posargs} | ||||
passenv = HOME # required by pytest-rabbitmq | |||||
[testenv:black] | [testenv:black] | ||||
skip_install = true | skip_install = true | ||||
deps = | deps = | ||||
black==20.8b1 | black==20.8b1 | ||||
commands = | commands = | ||||
{envpython} -m black --check swh | {envpython} -m black --check swh | ||||
Show All 14 Lines |