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

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

parent c3d16e37
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,13 @@
envlist=flake8,mypy,py3-{core,db,server}
[testenv]
extras =
testing-core
core: logging
db: db, testing-db
server: http
deps =
.[testing-core]
core: .[logging]
db: .[db,testing-db]
db: pifpaf
server: .[http]
cover: pytest-cov
commands =
db: pifpaf run postgresql -- \
......@@ -32,9 +33,13 @@ commands =
{envpython} -m flake8
[testenv:mypy]
skip_install = true
extras =
testing-core
logging
db
testing-db
http
deps =
.[logging,db,http,testing-core,testing-db]
mypy
commands =
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