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] >= 0.0.61 | swh.core[http] >= 0.0.61 | ||||
swh.scheduler[testing] >= 0.5.0 | swh.scheduler[testing] >= 0.5.0 | ||||
amqp != 5.0.4 | amqp != 5.0.4 | ||||
pytest-cov | pytest-cov | ||||
dev: ipdb | dev: ipdb | ||||
commands = | commands = | ||||
pytest \ | pytest \ | ||||
!dev: --cov={envsitepackagesdir}/swh/lister/ --cov-branch \ | !dev: --cov={envsitepackagesdir}/swh/lister/ --cov-branch \ | ||||
--doctest-modules \ | --doctest-modules \ | ||||
-vv \ | |||||
{envsitepackagesdir}/swh/lister/ {posargs} | {envsitepackagesdir}/swh/lister/ {posargs} | ||||
[testenv:black] | [testenv:black] | ||||
skip_install = true | skip_install = true | ||||
deps = | deps = | ||||
black==22.3.0 | black==22.3.0 | ||||
commands = | commands = | ||||
{envpython} -m black --check swh | {envpython} -m black --check swh | ||||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |