https://github.com/SoftwareHeritage/swh-model
Raw File
Tip revision: f7f18a3f2b71f4a1a8b8ac0506229e7ddaf5ab64 authored by Valentin Lorentz on 27 February 2020, 14:12:07 UTC
Make attributes name and email of Person optional.
Tip revision: f7f18a3
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