Revision fe6440ee825f7bfdbdc03230ba5390b824eda9bb authored by Antoine R. Dumont (@ardumont) on 10 January 2020, 15:37:24 UTC, committed by Antoine R. Dumont (@ardumont) on 14 January 2020, 10:41:34 UTC
1 parent 351b977
Raw File
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