https://github.com/SoftwareHeritage/swh-storage
Raw File
Tip revision: e296dfba137b7d0842ea85c883d60c735a4dd2f3 authored by Antoine R. Dumont (@ardumont) on 14 November 2019, 09:26:41 UTC
swh.storage.schemata: Drop schemata from storage
Tip revision: e296dfb
tox.ini
[tox]
envlist=flake8,mypy,py3

[testenv:py3]
deps =
  .[testing]
  .[listener]
  pytest-cov
commands =
  pytest --hypothesis-profile=fast \
         --cov={envsitepackagesdir}/swh/storage \
         {envsitepackagesdir}/swh/storage \
         --cov-branch {posargs}

[testenv:py3-slow]
deps =
  .[testing]
  .[listener]
  pytest-cov
commands =
  pytest --hypothesis-profile=slow \
         --cov={envsitepackagesdir}/swh/storage \
         {envsitepackagesdir}/swh/storage \
         --cov-branch {posargs}

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

[testenv:mypy]
skip_install = true
deps =
  .[testing]
  mypy
commands =
  mypy swh
back to top