From: Daniele Varrazzo Date: Fri, 5 Feb 2021 12:42:14 +0000 (+0100) Subject: Allow mypy to run from root dir X-Git-Tag: 3.0.dev0~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a3455e85b03c089bfbfaa299f07fba7a933f7e2;p=thirdparty%2Fpsycopg.git Allow mypy to run from root dir --- diff --git a/psycopg3/.mypy.ini b/.mypy.ini similarity index 77% rename from psycopg3/.mypy.ini rename to .mypy.ini index b62d8e3d8..9314460ba 100644 --- a/psycopg3/.mypy.ini +++ b/.mypy.ini @@ -1,9 +1,9 @@ [mypy] -files = psycopg3 +files = psycopg3/psycopg3 warn_unused_ignores = True show_error_codes = True strict = True -mypy_path = ../psycopg3_c +mypy_path = psycopg3_c [mypy-pytest] ignore_missing_imports = True diff --git a/tox.ini b/tox.ini index 76cdb0f66..c0c0a2b2b 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,6 @@ skip_install = true [testenv:mypy] commands = mypy deps = mypy >= 0.800 -changedir = psycopg3 skip_install = true [flake8]