https://github.com/SoftwareHeritage/swh-model
Raw File
Tip revision: 4b79a2b0b7ca415fe75d72b8d9812452467ed351 authored by Nicolas Dandrimont on 23 October 2019, 11:55:18 UTC
model: make to_dict() properly recursive
Tip revision: 4b79a2b
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