mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-12 05:17:09 +00:00
chore(python): remove inner parenthesis from type: ignore to silence mypy syntax errors
This commit is contained in:
parent
c55893ffe5
commit
0b479b8fa3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user