https://github.com/SoftwareHeritage/swh-storage
Raw File
Tip revision: 0599649835b70e408ff52e2a9ca84a7aff7f674f authored by Jenkins for Software Heritage on 06 December 2019, 10:23:42 UTC
New upstream version 0.0.160
Tip revision: 0599649
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