Revision a66e16cf62151be78fb2e3026b7a4865b5c79ccf authored by Jenkins for Software Heritage on 03 February 2020, 13:23:46 UTC, committed by Jenkins for Software Heritage on 03 February 2020, 13:23:46 UTC
2 parent s 523f2eb + b315f9d
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