Changeset View
Changeset View
Standalone View
Standalone View
tox.ini
[tox] | [tox] | ||||
envlist=check-manifest,flake8,mypy,py3 | envlist=flake8,mypy,py3 | ||||
[testenv] | [testenv] | ||||
extras = | extras = | ||||
testing | testing | ||||
deps = | deps = | ||||
pytest-cov | pytest-cov | ||||
commands = | commands = | ||||
pytest --cov=swh --cov-branch {posargs} | pytest --doctest-modules \ | ||||
{envsitepackagesdir}/swh/foo \ | |||||
--cov={envsitepackagesdir}/swh/foo \ | |||||
--cov-branch {posargs} | |||||
[testenv:flake8] | [testenv:flake8] | ||||
skip_install = true | skip_install = true | ||||
deps = | deps = | ||||
flake8 | flake8 | ||||
commands = | commands = | ||||
{envpython} -m flake8 | {envpython} -m flake8 | ||||
[testenv:check-manifest] | |||||
skip_install = true | |||||
deps = | |||||
check-manifest | |||||
commands = | |||||
{envpython} -m check_manifest {toxinidir} | |||||
[testenv:mypy] | [testenv:mypy] | ||||
extras = | extras = | ||||
testing | testing | ||||
deps = | deps = | ||||
mypy | mypy | ||||
commands = | commands = | ||||
mypy swh | mypy swh |