]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
chore: bump mypy version
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 30 May 2025 21:30:45 +0000 (22:30 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 2 Jun 2025 10:37:04 +0000 (11:37 +0100)
psycopg/pyproject.toml
tests/constraints.txt
tests/scripts/spiketest.py

index 348e426cd8e4b7a022e4cb01f09dd520bf28f6e0..87e6023225183332223baede0d722d1e8a36abf6 100644 (file)
@@ -69,7 +69,7 @@ pool = [
 ]
 test = [
     "anyio >= 4.0",
-    "mypy >= 1.14",
+    "mypy >= 1.16",
     "pproxy >= 2.7",
     "pytest >= 6.2.5",
     "pytest-cov >= 3.0",
index 2119387c49254c660fe2ce814c9bc8a050ae8fa5..1a85eaeab98823e4e10560c966b73bf2925eeba9 100644 (file)
@@ -10,7 +10,7 @@ importlib-metadata == 1.4
 
 # From the 'test' extra
 anyio == 4.0
-mypy == 1.14.0
+mypy == 1.16.0
 pproxy == 2.7.0
 pytest == 6.2.5
 pytest-cov == 3.0.0
index 82d274fd8eff0ca5956e4497dad6a3317ad43070..b669913022884b945cb00f1b7269a807dbd1b1e4 100644 (file)
@@ -105,7 +105,7 @@ class DelayedConnection(psycopg.Connection[Row]):
     """A connection adding a delay to the connection time."""
 
     @classmethod
-    def connect(cls, conninfo, conn_delay=0, **kwargs):
+    def connect(cls, conninfo, conn_delay=0, **kwargs):  # type: ignore[override]
         t0 = time.time()
         conn = super().connect(conninfo, **kwargs)
         t1 = time.time()