disallow_untyped_defs = false
disallow_untyped_calls = false
+[[tool.mypy.overrides]]
+module = "tests.scripts.spiketest"
+warn_unused_ignores = false # for mypy 1.14 on Python 3.8
+
[tool.codespell]
ignore-words-list = "alot,ans,ba,fo,te,erro,varning"
skip = "build,_build,.tox,.mypy_cache,.venv,pq.c,_psycopg.c,*.html"
"""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()