Page MenuHomeSoftware Heritage

tox.ini
No OneTemporary

[tox]
envlist=black,flake8,mypy,py3-{core,db,server}
[testenv]
extras =
testing-core
core: logging
db: db, testing-db
server: http
deps =
db: pifpaf
cover: pytest-cov
commands =
db: pifpaf run postgresql -- \
pytest --doctest-modules \
slow: --hypothesis-profile=slow \
cover: --cov={envsitepackagesdir}/swh/core --cov-branch \
core: {envsitepackagesdir}/swh/core/tests \
db: {envsitepackagesdir}/swh/core/db/tests \
server: {envsitepackagesdir}/swh/core/api/tests \
{posargs}
[testenv:py3]
skip_install = true
deps = tox
commands = tox -e py3-core-db-server-slow-cover -- {posargs}
[testenv:black]
skip_install = true
deps =
black==19.10b0
commands =
{envpython} -m black --check swh
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
{envpython} -m flake8
[testenv:mypy]
extras =
testing-core
logging
db
testing-db
http
deps =
mypy
commands =
mypy swh

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 4, 2:40 PM (3 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3369476

Event Timeline