mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Check for unused pyright: ignore and differentiate from mypy ignores (#9397)
This commit is contained in:
@@ -97,7 +97,7 @@ class CompletedProcess(Generic[_T]):
|
||||
args: _CMD,
|
||||
returncode: int,
|
||||
stdout: _T | None = ..., # pyright: ignore[reportInvalidTypeVarUse]
|
||||
stderr: _T | None = ..., # pyright: ignore[reportInvalidTypeVarUse]
|
||||
stderr: _T | None = ...,
|
||||
) -> None: ...
|
||||
def check_returncode(self) -> None: ...
|
||||
if sys.version_info >= (3, 9):
|
||||
|
||||
Reference in New Issue
Block a user