From cb620f1cb534a93cfc318647ff778c072f553884 Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Tue, 26 Mar 2024 14:04:51 +0100 Subject: [PATCH] Remove redundant ignore --- python/src/trezorlib/protobuf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/trezorlib/protobuf.py b/python/src/trezorlib/protobuf.py index e6fdcdbf0..93bfdbd99 100644 --- a/python/src/trezorlib/protobuf.py +++ b/python/src/trezorlib/protobuf.py @@ -183,7 +183,7 @@ class Field: class _MessageTypeMeta(type): def __init__(cls, name: str, bases: tuple, d: dict) -> None: - super().__init__(name, bases, d) # type: ignore [Expected 1 positional argument] + super().__init__(name, bases, d) if name != "MessageType": cls.__init__ = MessageType.__init__ # type: ignore ["__init__" is obscured by a declaration of the same name;;Cannot assign member "__init__" for type "_MessageTypeMeta"]