Fix invalid noqa comments and poorly formatted type ignores (#11497)

This commit is contained in:
Avasam
2024-02-29 01:27:07 -05:00
committed by GitHub
parent 5e9589dd75
commit c75ecf0bca
21 changed files with 43 additions and 43 deletions

View File

@@ -34,7 +34,7 @@ class ThreadPool(GroupMappingMixin):
def join(self) -> None: ...
def kill(self) -> None: ...
def adjust(self) -> None: ...
def spawn(self, func: Callable[_P, _T], *args: _P.args, **kwargs: _P.kwargs) -> AsyncResult[_T]: ... # type:ignore[override]
def spawn(self, func: Callable[_P, _T], *args: _P.args, **kwargs: _P.kwargs) -> AsyncResult[_T]: ... # type: ignore[override]
class ThreadResult(Generic[_T]):
receiver: _Receiver[_T]