mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Remove flake8-2020 (#12548)
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version = "1.8.*"
|
||||
upstream_repository = "https://github.com/asottile/flake8-2020"
|
||||
no_longer_updated = true
|
||||
@@ -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]: ...
|
||||
Reference in New Issue
Block a user