Skip to content

Commit 93670ff

Browse files
committed
Ignore mypy errors that will only show up when running mypy on Windows
1 parent c30bf17 commit 93670ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd2/cmd2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2819,8 +2819,8 @@ def onecmd_plus_hooks(
28192819

28202820
def _run_cmdfinalization_hooks(self, stop: bool, statement: Statement | None) -> bool:
28212821
"""Run the command finalization hooks."""
2822-
if self._initial_termios_settings is not None and self.stdin.isatty():
2823-
import io
2822+
if self._initial_termios_settings is not None and self.stdin.isatty(): # type: ignore[unreachable]
2823+
import io # type: ignore[unreachable]
28242824
import termios
28252825

28262826
# Before the next command runs, fix any terminal problems like those

0 commit comments

Comments
 (0)