Revision 94b6946b99cd773099577727048248ac93626c89 authored by Jenkins for Software Heritage on 30 April 2020, 12:58:56 UTC, committed by Jenkins for Software Heritage on 30 April 2020, 12:58:56 UTC
Update to upstream version '0.0.189'
with Debian dir c15d9ed71a3944e12dd13ce35b89362c2e731d92
2 parent s baa127e + b579670
Raw File
tox.ini
[tox]
envlist=black,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:black]
skip_install = true
deps =
  black
commands =
  {envpython} -m black --check swh

[testenv:flake8]
skip_install = true
deps =
  flake8
commands =
  {envpython} -m flake8

[testenv:mypy]
extras =
  testing
deps =
  mypy
commands =
  mypy swh
back to top