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 --cov={envsitepackagesdir}/swh/model \ | pytest --cov={envsitepackagesdir}/swh/model \ | ||||
--doctest-modules \ | |||||
{envsitepackagesdir}/swh/model \ | {envsitepackagesdir}/swh/model \ | ||||
--cov-branch {posargs} | --cov-branch {posargs} | ||||
[testenv:black] | [testenv:black] | ||||
skip_install = true | skip_install = true | ||||
deps = | deps = | ||||
black==19.10b0 | black==19.10b0 | ||||
commands = | commands = | ||||
Show All 16 Lines |