https://github.com/SoftwareHeritage/swh-model
Raw File
Tip revision: 4a2233c5f732f3c02428917d2b7077899f47597b authored by Antoine Pietri on 23 March 2020, 18:09:47 UTC
identifiers: encode origin URLs in utf-8
Tip revision: 4a2233c
tox.ini
[tox]
envlist=flake8,mypy,py3

[testenv]
extras =
  testing
deps =
  pytest-cov
commands =
  pytest --cov={envsitepackagesdir}/swh/model \
         {envsitepackagesdir}/swh/model \
           --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