https://forge.softwareheritage.org/source/swh-counters
Raw File
Tip revision: 01a38f0f57b5c4c2e748c02a3467ed4e7588c20b authored by Vincent SELLIER on 17 March 2021, 17:10:36 UTC
Rebuild to unstuck the debian packaging.
Tip revision: 01a38f0
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
back to top