]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Use dev dependencies in tox checking 3.0.dev2
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 22 Aug 2021 13:44:32 +0000 (15:44 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 22 Aug 2021 17:21:55 +0000 (19:21 +0200)
Allow to specify a them in a single place and not having to repeat
package dependencies in the mypy test.

tox.ini

diff --git a/tox.ini b/tox.ini
index 65e9536f307ac55ed74eff578eb439371f198c51..744d94ebf6ac741a345f4f172c9736e758da8ded 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -4,19 +4,17 @@ isolated_build = True
 
 [testenv:black]
 commands = black --check --diff .
-deps = black
+deps = -e psycopg[dev]
 skip_install = true
 
 [testenv:flake8]
 commands = flake8
-deps = flake8 >= 3.8, < 3.9
+deps = -e psycopg[dev]
 skip_install = true
 
 [testenv:mypy]
 commands = mypy
-deps =
-    mypy >= 0.910
-    types-backports; python_version < "3.9"
+deps = -e psycopg[dev]
 skip_install = true
 
 [testenv:docs]