Page MenuHomeSoftware Heritage

tox.ini
No OneTemporary

[tox]
envlist=black,flake8,mypy,py3
[testenv]
extras =
testing
deps =
pytest-cov
commands =
pytest \
slow: --hypothesis-profile=swh-web \
!slow: --hypothesis-profile=swh-web-fast \
--cov {envsitepackagesdir}/swh/web --cov-branch {posargs} {envsitepackagesdir}/swh/web
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
{envpython} -m flake8 \
--exclude=.tox,.git,__pycache__,.eggs,*.egg,node_modules
[testenv:mypy]
setenv = DJANGO_SETTINGS_MODULE = swh.web.settings.development
extras =
testing
deps =
mypy
commands =
mypy swh
[testenv:black]
skip_install = true
deps =
black
commands =
{envpython} -m black --check swh

File Metadata

Mime Type
text/plain
Expires
Sat, Jun 21, 6:41 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3265149

Event Timeline