From 0b479b8fa388ae9b39e59d54cd8b62796ea3146a Mon Sep 17 00:00:00 2001 From: grdddj Date: Mon, 24 Feb 2025 12:06:24 +0100 Subject: [PATCH] chore(python): remove inner parenthesis from type: ignore to silence mypy syntax errors --- 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 5a5315f186..00e0aedbe0 100644 --- a/python/src/trezorlib/protobuf.py +++ b/python/src/trezorlib/protobuf.py @@ -166,7 +166,7 @@ class Field: if self._py_type is None: self._py_type = self._resolve_type() # pyright issue https://github.com/microsoft/pyright/issues/8136 - return self._py_type # type: ignore [Type ["Unknown | None"]] + return self._py_type # type: ignore [Type "Unknown | None"] def _resolve_type(self) -> type: # look for a type in the builtins