Third-party stubs: remove unused type: ignores (#11063)

This commit is contained in:
Alex Waygood
2023-11-23 13:35:45 +00:00
committed by GitHub
parent b04e50d522
commit 1d2fe59e88
21 changed files with 41 additions and 44 deletions

View File

@@ -227,7 +227,7 @@ class _patcher:
TEST_PREFIX: str
dict: type[_patch_dict]
@overload
def __call__( # type: ignore[misc]
def __call__(
self,
target: Any,
*,
@@ -257,7 +257,7 @@ class _patcher:
**kwargs: Any,
) -> _patch[_T]: ...
@overload
def object( # type: ignore[misc]
def object(
self,
target: Any,
attribute: str,