Revision bfba3bdda505b738362d95ae99f3ea4452ec07cd authored by Antoine R. Dumont (@ardumont) on 20 April 2020, 14:46:17 UTC, committed by Antoine R. Dumont (@ardumont) on 20 April 2020, 15:37:56 UTC
1 parent e5227e2
tox.ini
[tox]
envlist=black,flake8,mypy,py3
[testenv]
extras =
testing
deps =
pytest-cov
commands =
pytest --cov={envsitepackagesdir}/swh/model \
{envsitepackagesdir}/swh/model \
--cov-branch {posargs}
[testenv:black]
skip_install = true
deps =
black
commands =
{envpython} -m black --check swh
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
{envpython} -m flake8
[testenv:mypy]
extras =
testing
deps =
mypy
commands =
mypy swh
Computing file changes ...