Revision 76fc96870f1e1ac69aeb1bfc30fb0b00d7c7a118 authored by Valentin Lorentz on 19 December 2019, 14:13:34 UTC, committed by Valentin Lorentz on 19 December 2019, 14:13:46 UTC
This reflects what is done in practice and what the code expects. Using an email is invalid because the value of --author is used in a `http://schema.org/name` property, not `http://schema.org/email`
1 parent e25693b
tox.ini
[tox]
envlist=flake8,mypy,py3
[testenv]
extras =
testing
deps =
# the dependency below is needed for now as a workaround for
# https://github.com/pypa/pip/issues/6239
swh.core[http] >= 0.0.75
dev: ipdb
pytest-cov
pifpaf
commands =
pifpaf run postgresql -- \
pytest \
!dev: --cov {envsitepackagesdir}/swh/deposit --cov-branch \
{envsitepackagesdir}/swh/deposit \
{posargs}
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
{envpython} -m flake8 \
--exclude=.tox,.git,__pycache__,.tox,.eggs,*.egg,swh/deposit/migrations
[testenv:mypy]
setenv = DJANGO_SETTINGS_MODULE = swh.deposit.settings.testing
extras =
testing
deps =
mypy < 0.750
commands =
mypy swh
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...