diff --git a/tox.ini b/tox.ini index 6534c176..a597f0aa 100644 --- a/tox.ini +++ b/tox.ini @@ -1,30 +1,31 @@ [tox] envlist=flake8,mypy,py3 [testenv] +extras = + testing deps = - .[testing] pytest-cov pytest-django 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 -skip_install = true +extras = + testing deps = mypy - .[testing] commands = mypy swh