Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions stubs/flake8-2020/flake8_2020.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,24 @@

import ast
from collections.abc import Generator
from typing import Any, ClassVar
from typing import ClassVar, Final
from typing_extensions import Self

YTT101: str
YTT102: str
YTT103: str
YTT201: str
YTT202: str
YTT203: str
YTT204: str
YTT301: str
YTT302: str
YTT303: str
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[Any]], None, None]: ...
def run(self) -> Generator[tuple[int, int, str, type[Self]], None, None]: ...