Revision 89e9dae60472fca2b9a2fdde33da95ca29ebf77e authored by Antoine R. Dumont (@ardumont) on 25 June 2020, 12:37:39 UTC, committed by Antoine R. Dumont (@ardumont) on 25 June 2020, 12:37:39 UTC
Related to D3342#inline-23217
1 parent 12d729b
tox.ini
[tox]
envlist=black,flake8,mypy,py3
[testenv]
extras =
testing
deps =
pytest-cov
dev: ipdb
passenv =
LOG_CASSANDRA
commands =
pytest \
!slow: --hypothesis-profile=fast \
slow: --hypothesis-profile=slow \
--cov={envsitepackagesdir}/swh/storage \
{envsitepackagesdir}/swh/storage \
--doctest-modules \
--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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...