https://github.com/SoftwareHeritage/swh-storage
Raw File
Tip revision: 89c74c512802cdf359efa3454e7f74ec4b85ebdd authored by Jenkins for Software Heritage on 25 March 2020, 09:03:43 UTC
Updated debian changelog for version 0.0.181
Tip revision: 89c74c5
tox.ini
[tox]
envlist=flake8,mypy,py3

[testenv]
extras =
  testing
deps =
  pytest-cov
  dev: ipdb
passenv =
  LOG_CASSANDRA
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