Remove unused type: ignore comments (#9801)

This commit is contained in:
Alex Waygood
2023-02-23 20:59:50 +00:00
committed by GitHub
parent 06755e10ba
commit 6ba28ae547
20 changed files with 39 additions and 40 deletions

View File

@@ -254,7 +254,7 @@ _T_contra = TypeVar("_T_contra", contravariant=True) # Ditto contravariant.
_TC = TypeVar("_TC", bound=Type[object])
def no_type_check(arg: _F) -> _F: ...
def no_type_check_decorator(decorator: Callable[_P, _T]) -> Callable[_P, _T]: ... # type: ignore[misc]
def no_type_check_decorator(decorator: Callable[_P, _T]) -> Callable[_P, _T]: ...
# Type aliases and type constructors