https://forge.softwareheritage.org/source/swh-counters
Tip revision: dd8ad46f5f3876254abc3a0ce104c4357eaa639a authored by Vincent SELLIER on 07 April 2021, 21:36:44 UTC
attempt to fix the stable debian build
attempt to fix the stable debian build
Tip revision: dd8ad46
tox.ini
[tox]
envlist=black,flake8,mypy,py3
[testenv]
extras =
testing
deps =
pytest-cov
dev: pdbpp
commands =
pytest --doctest-modules \
{envsitepackagesdir}/swh/counters \
--cov={envsitepackagesdir}/swh/counters \
--cov-branch {posargs}
[testenv:black]
skip_install = true
deps =
black==19.10b0
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