Skip to content

Commit

Permalink
chore(python): remove inner parenthesis from type: ignore to silence …
Browse files Browse the repository at this point in the history
…mypy syntax errors
  • Loading branch information
grdddj committed Feb 24, 2025
1 parent c55893f commit 0b479b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/src/trezorlib/protobuf.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def py_type(self) -> type:
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
Expand Down

0 comments on commit 0b479b8

Please sign in to comment.