Revision bfe4586ed375aa307b54c8e12db00d155e97debc authored by Jenkins for Software Heritage on 03 February 2020, 13:23:48 UTC, committed by Jenkins for Software Heritage on 03 February 2020, 13:23:48 UTC
1 parent 2812822
Raw File
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