https://github.com/SoftwareHeritage/swh-storage
Raw File
Tip revision: 1608fcd51f192da7299a51e9b71fe1f99b40ffdf authored by Valentin Lorentz on 29 January 2020, 15:15:40 UTC
Allow deprecated endpoints to be missing from a backend class.
Tip revision: 1608fcd
tox.ini
[tox]
envlist=flake8,mypy,py3

[testenv]
extras =
  testing
deps =
  pytest-cov
  dev: ipdb
commands =
  pytest \
    !slow: --hypothesis-profile=fast \
    slow:  --hypothesis-profile=slow \
         --cov={envsitepackagesdir}/swh/storage \
         {envsitepackagesdir}/swh/storage \
         --doctest-modules \
         --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