Skip to content
Snippets Groups Projects
Commit 399b0d70 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Migrate tox.ini to extras = xxx instead of deps = .[testing]

parent 3c1930d3
No related branches found
No related tags found
1 merge request!43Migrate tox.ini to extras = xxx instead of deps = .[testing]
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
envlist=flake8,mypy,py3 envlist=flake8,mypy,py3
[testenv] [testenv]
extras =
testing
deps = deps =
# the dependency below is needed for now as a workaround for # the dependency below is needed for now as a workaround for
# https://github.com/pypa/pip/issues/6239 # https://github.com/pypa/pip/issues/6239
swh.core[http] >= 0.0.75 swh.core[http] >= 0.0.75
.[testing]
dev: ipdb dev: ipdb
pytest-cov pytest-cov
pifpaf pifpaf
...@@ -27,9 +28,9 @@ commands = ...@@ -27,9 +28,9 @@ commands =
[testenv:mypy] [testenv:mypy]
setenv = DJANGO_SETTINGS_MODULE = swh.deposit.settings.testing setenv = DJANGO_SETTINGS_MODULE = swh.deposit.settings.testing
skip_install = true extras =
testing
deps = deps =
.[testing]
mypy mypy
commands = commands =
mypy swh mypy swh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment