Changeset View
Changeset View
Standalone View
Standalone View
tox.ini
[tox] | [tox] | ||||
envlist=black,flake8,mypy,py3 | envlist=black,flake8,mypy,py3 | ||||
[testenv] | [testenv] | ||||
extras = | extras = | ||||
testing | testing | ||||
deps = | deps = | ||||
pytest-cov | pytest-cov | ||||
commands = | commands = | ||||
pytest \ | pytest \ | ||||
slow: --hypothesis-profile=swh-web \ | slow: --hypothesis-profile=swh-web \ | ||||
!slow: --hypothesis-profile=swh-web-fast \ | !slow: --hypothesis-profile=swh-web-fast \ | ||||
--ignore-glob=*random_fixtures_test.py \ | |||||
--cov {envsitepackagesdir}/swh/web --cov-branch {posargs} {envsitepackagesdir}/swh/web | --cov {envsitepackagesdir}/swh/web --cov-branch {posargs} {envsitepackagesdir}/swh/web | ||||
[testenv:flake8] | [testenv:flake8] | ||||
skip_install = true | skip_install = true | ||||
deps = | deps = | ||||
flake8 | flake8 | ||||
commands = | commands = | ||||
{envpython} -m flake8 \ | {envpython} -m flake8 \ | ||||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |