Skip to content

Commit bd36c0c

Browse files
authored
Remove workaround for mypy 1.15.0 crash (#3545)
This reverts commit ae38e92.
1 parent 1b39c7d commit bd36c0c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

archinstall/tui/curses_menu.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -705,10 +705,7 @@ def __init__(
705705
self._interrupt_warning = reset_warning_msg
706706
self._header = header
707707

708-
# TODO: Remove the inline annotation after upgrading to mypy 1.16.0
709-
# The inline annotation is needed to avoid a crash in 1.15.0:
710-
# RuntimeError: Partial type "<partial list[?]>" cannot be checked with "issubtype()"
711-
self._header_entries: list[ViewportEntry] = []
708+
self._header_entries = []
712709
if header:
713710
self._header_entries = self.get_header_entries(header)
714711

0 commit comments

Comments
 (0)