]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Allow mypy to run from root dir
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 5 Feb 2021 12:42:14 +0000 (13:42 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 5 Feb 2021 12:42:14 +0000 (13:42 +0100)
.mypy.ini [moved from psycopg3/.mypy.ini with 77% similarity]
tox.ini

similarity index 77%
rename from psycopg3/.mypy.ini
rename to .mypy.ini
index b62d8e3d8de21e4869d6ecdee957b6a19337b836..9314460ba8c8785151fec232ca7e5f7e196ed549 100644 (file)
+++ 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 76cdb0f66a75224a53b5ef8e9c32ef6e903753ef..c0c0a2b2b7cf235c023f0688678c6c24d15f2ade 100644 (file)
--- 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]