https://github.com/SoftwareHeritage/swh-model
Raw File
Tip revision: b2c21d3253f9826788989bbadec26d5f0c4f0bc6 authored by Nicolas Dandrimont on 17 October 2019, 12:42:35 UTC
Don't export origin_visit['origin']['type']
Tip revision: b2c21d3
tox.ini
[tox]
envlist=flake8,mypy,py3

[testenv:py3]
deps =
  .[testing]
  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]
skip_install = true
deps =
  .[testing]
  mypy
commands =
  mypy swh
back to top