diff --git a/requirements-test.txt b/requirements-test.txt index 576fe193..70056983 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,8 +1,8 @@ hypothesis pytest pytest-django pytest-mock -django-stubs +django-stubs < 1.3.0 requests-mock swh.core[http] >= 0.0.61 swh.loader.git >= 0.0.47 diff --git a/tox.ini b/tox.ini index 7bb4f12d..3d48f9cb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,30 +1,30 @@ [tox] envlist=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 + mypy<0.750 commands = mypy swh