From: Denis Laxalde Date: Fri, 5 Nov 2021 09:58:38 +0000 (+0100) Subject: Ignore 'arg-type' mypy error about list subclass in fix_db X-Git-Tag: 3.0.3~3^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c745c1e2f68f43711ed9399f443ad3564eeed3fb;p=thirdparty%2Fpsycopg.git Ignore 'arg-type' mypy error about list subclass in fix_db Not sure why this is an error. Are we supposed to inherit from List[Any]? --- diff --git a/tests/fix_db.py b/tests/fix_db.py index 74e16b409..97287c42d 100644 --- a/tests/fix_db.py +++ b/tests/fix_db.py @@ -131,7 +131,7 @@ def patch_exec(conn, monkeypatch): return L -class ListPopAll(list): +class ListPopAll(list): # type: ignore[type-arg] """A list, with a popall() method.""" def popall(self):