@@ -93,7 +93,7 @@ def _start_event_gc():
93
93
if self ._event_pipe_gc_task is not None :
94
94
# cancel gc task to avoid pending task warnings
95
95
async def _cancel ():
96
- self ._event_pipe_gc_task .cancel () # type:ignore
96
+ self ._event_pipe_gc_task .cancel () # type:ignore[union-attr]
97
97
98
98
if not self ._stopped :
99
99
self .io_loop .run_sync (_cancel )
@@ -373,7 +373,7 @@ def fileno(self):
373
373
374
374
def _watch_pipe_fd (self ):
375
375
"""
376
- We've redirected standards steams 0 and 1 into a pipe.
376
+ We've redirected standards streams 0 and 1 into a pipe.
377
377
378
378
We need to watch in a thread and redirect them to the right places.
379
379
@@ -424,7 +424,7 @@ def __init__(
424
424
that will swap the give file descriptor for a pipe, read from the
425
425
pipe, and insert this into the current Stream.
426
426
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)
428
428
429
429
"""
430
430
if pipe is not None :
@@ -634,7 +634,7 @@ def write(self, string: str) -> Optional[int]: # type:ignore[override]
634
634
"""
635
635
636
636
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]
638
638
raise TypeError (msg )
639
639
640
640
if self .echo is not None :
0 commit comments