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

@@ -11,7 +11,7 @@ class upload_docs(upload):
boolean_options: ClassVar[list[str]]
def has_sphinx(self): ...
# The callable parameter is self: Self, but using Self still trips up mypy
sub_commands: ClassVar[list[tuple[str, Callable[[Self], bool] | None]]] # type: ignore[misc, assignment]
sub_commands: ClassVar[list[tuple[str, Callable[[Self], bool] | None]]] # type: ignore[assignment]
upload_dir: Any
target_dir: Any
def initialize_options(self) -> None: ...