From: Daniele Varrazzo Date: Sun, 22 Aug 2021 13:44:32 +0000 (+0200) Subject: Use dev dependencies in tox checking X-Git-Tag: 3.0.dev2^0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f852b29021dd5e63c5f656bedc2611aa5333b2b;p=thirdparty%2Fpsycopg.git Use dev dependencies in tox checking Allow to specify a them in a single place and not having to repeat package dependencies in the mypy test. --- diff --git a/tox.ini b/tox.ini index 65e9536f3..744d94ebf 100644 --- 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]