Remove flake8-2020 (#12548)

This commit is contained in:
Sebastian Rittau
2024-08-18 12:30:27 +02:00
committed by GitHub
parent eb8e9ddd91
commit eca1df49f3
2 changed files with 0 additions and 30 deletions

View File

@@ -1,3 +0,0 @@
version = "1.8.*"
upstream_repository = "https://github.com/asottile/flake8-2020"
no_longer_updated = true

View File

@@ -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]: ...