Revision aa65c42c60c652dabfe679d41777ab77d984cc3f authored by Jenkins for Software Heritage on 26 November 2019, 16:12:45 UTC, committed by Jenkins for Software Heritage on 26 November 2019, 16:12:45 UTC
1 parent 64685dc
Raw File
tox.ini
[tox]
envlist=flake8,mypy,py3

[testenv]
extras =
  testing
deps =
  pytest-cov
commands =
  pytest \
    !slow: --hypothesis-profile=fast \
    slow:  --hypothesis-profile=slow \
         --cov={envsitepackagesdir}/swh/storage \
         {envsitepackagesdir}/swh/storage \
         --cov-branch {posargs}

[testenv:flake8]
skip_install = true
deps =
  flake8
commands =
  {envpython} -m flake8

[testenv:mypy]
extras =
  testing
deps =
  mypy
commands =
  mypy swh
back to top