Revision 03c2a021c0d64a06095bbe00bcf36fc6fb42766c authored by Valentin Lorentz on 06 February 2020, 13:22:29 UTC, committed by Valentin Lorentz on 12 February 2020, 15:51:26 UTC
So clients will get a nice exception looking like the
original one, instead of generic RemoteApiError.
1 parent 652ecf0
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