Revision c8389c226868337043f011e0e6f5fa8e46900874 authored by Antoine R. Dumont (@ardumont) on 24 January 2020, 13:54:26 UTC, committed by Antoine R. Dumont (@ardumont) on 24 January 2020, 13:54:26 UTC
1 parent 2ebcdf3
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