https://github.com/SoftwareHeritage/swh-model
Raw File
Tip revision: 0b9c5be2f7d9635154a4d8fc2e8f431825d96259 authored by Valentin Lorentz on 30 October 2019, 13:36:25 UTC
Make OriginVisit.origin a string instead of a dict.
Tip revision: 0b9c5be
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