diff --git a/stubs/flake8-2020/METADATA.toml b/stubs/flake8-2020/METADATA.toml deleted file mode 100644 index 625ab6047..000000000 --- a/stubs/flake8-2020/METADATA.toml +++ /dev/null @@ -1,3 +0,0 @@ -version = "1.8.*" -upstream_repository = "https://github.com/asottile/flake8-2020" -no_longer_updated = true diff --git a/stubs/flake8-2020/flake8_2020.pyi b/stubs/flake8-2020/flake8_2020.pyi deleted file mode 100644 index 966596f97..000000000 --- a/stubs/flake8-2020/flake8_2020.pyi +++ /dev/null @@ -1,27 +0,0 @@ -# flake8-2020 has type annotations, but PEP 561 states: -# This PEP does not support distributing typing information as part of module-only distributions or single-file modules within namespace packages. -# Therefore typeshed is the best place. - -import ast -from collections.abc import Generator -from typing import ClassVar, Final -from typing_extensions import Self - -YTT101: Final[str] -YTT102: Final[str] -YTT103: Final[str] -YTT201: Final[str] -YTT202: Final[str] -YTT203: Final[str] -YTT204: Final[str] -YTT301: Final[str] -YTT302: Final[str] -YTT303: Final[str] - -class Visitor(ast.NodeVisitor): ... - -class Plugin: - name: ClassVar[str] - version: ClassVar[str] - def __init__(self, tree: ast.AST) -> None: ... - def run(self) -> Generator[tuple[int, int, str, type[Self]], None, None]: ...