@@ -93,7 +93,7 @@ def _start_event_gc():
9393 if self ._event_pipe_gc_task is not None :
9494 # cancel gc task to avoid pending task warnings
9595 async def _cancel ():
96- self ._event_pipe_gc_task .cancel () # type:ignore
96+ self ._event_pipe_gc_task .cancel () # type:ignore[union-attr]
9797
9898 if not self ._stopped :
9999 self .io_loop .run_sync (_cancel )
@@ -373,7 +373,7 @@ def fileno(self):
373373
374374 def _watch_pipe_fd (self ):
375375 """
376- We've redirected standards steams 0 and 1 into a pipe.
376+ We've redirected standards streams 0 and 1 into a pipe.
377377
378378 We need to watch in a thread and redirect them to the right places.
379379
@@ -424,7 +424,7 @@ def __init__(
424424 that will swap the give file descriptor for a pipe, read from the
425425 pipe, and insert this into the current Stream.
426426 isatty : bool (default, False)
427- Indication of whether this stream has termimal capabilities (e.g. can handle colors)
427+ Indication of whether this stream has terminal capabilities (e.g. can handle colors)
428428
429429 """
430430 if pipe is not None :
@@ -634,7 +634,7 @@ def write(self, string: str) -> Optional[int]: # type:ignore[override]
634634 """
635635
636636 if not isinstance (string , str ):
637- msg = f"write() argument must be str, not { type (string )} "
637+ msg = f"write() argument must be str, not { type (string )} " # type:ignore[unreachable]
638638 raise TypeError (msg )
639639
640640 if self .echo is not None :
0 commit comments