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

@@ -39,11 +39,11 @@ _OmitType: TypeAlias = str | tuple[str, ...] | None
def iter_child_nodes(node: ast.AST, omit: _OmitType = None, _fields_order: _FieldsOrder = ...) -> Iterator[ast.AST]: ...
@overload
def convert_to_value(item: ast.Str) -> str: ... # type: ignore[misc]
def convert_to_value(item: ast.Str) -> str: ... # type: ignore[overload-overlap]
@overload
def convert_to_value(item: ast.Bytes) -> bytes: ... # type: ignore[misc]
def convert_to_value(item: ast.Bytes) -> bytes: ... # type: ignore[overload-overlap]
@overload
def convert_to_value(item: ast.Tuple) -> tuple[Any, ...]: ... # type: ignore[misc]
def convert_to_value(item: ast.Tuple) -> tuple[Any, ...]: ... # type: ignore[overload-overlap]
@overload
def convert_to_value(item: ast.Name | ast.NameConstant) -> Any: ...
@overload