From: Daniele Varrazzo Date: Sat, 21 Aug 2021 15:32:32 +0000 (+0200) Subject: Link mypy ignore comment to issue reported upstream X-Git-Tag: 3.0.dev2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=294ca1949e5dc59e2a4168a4a291679f2113da5d;p=thirdparty%2Fpsycopg.git Link mypy ignore comment to issue reported upstream --- diff --git a/psycopg/psycopg/connection.py b/psycopg/psycopg/connection.py index 9e6c016cb..0679387a2 100644 --- a/psycopg/psycopg/connection.py +++ b/psycopg/psycopg/connection.py @@ -552,7 +552,7 @@ class Connection(BaseConnection[Row]): ) -> "Connection[TupleRow]": ... - @classmethod # type: ignore[misc] + @classmethod # type: ignore[misc] # https://github.com/python/mypy/issues/11004 def connect( cls, conninfo: str = "", diff --git a/psycopg/psycopg/connection_async.py b/psycopg/psycopg/connection_async.py index 94ba251f4..796716b48 100644 --- a/psycopg/psycopg/connection_async.py +++ b/psycopg/psycopg/connection_async.py @@ -78,7 +78,7 @@ class AsyncConnection(BaseConnection[Row]): ) -> "AsyncConnection[TupleRow]": ... - @classmethod # type: ignore[misc] + @classmethod # type: ignore[misc] # https://github.com/python/mypy/issues/11004 async def connect( cls, conninfo: str = "",