]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
chore: ignore mypy flag for unused ignore
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 22 Jul 2025 11:50:27 +0000 (13:50 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 22 Jul 2025 11:50:27 +0000 (13:50 +0200)
Flagged by mypy 1.17 on CI, but we need to stay on mypy 1.14 in the
maint 3.2 branch because of Python 3.8 compatibility.

pyproject.toml

index bbd19b8efcde21b5585aba845b6d8852ec722abb..bb05a44339504e865046ff9b7d2f23f77dcaa02f 100644 (file)
@@ -62,7 +62,10 @@ disallow_untyped_defs = false
 disallow_untyped_calls = false
 
 [[tool.mypy.overrides]]
-module = "tests.scripts.spiketest"
+module = [
+    "tests.scripts.spiketest",
+    "tests.types.test_range",
+]
 warn_unused_ignores = false  # for mypy 1.14 on Python 3.8
 
 [tool.codespell]