Add two more methods to pep8-naming stub (#8864)

This commit is contained in:
Nikita Sobolev
2022-10-07 16:00:14 +03:00
committed by GitHub
parent 93075bf2fc
commit 76e18379a2

View File

@@ -1,6 +1,6 @@
import ast
from argparse import Namespace
from collections.abc import Generator
from collections.abc import Generator, Iterable
from typing import Any
__version__: str
@@ -23,6 +23,8 @@ class NamingChecker:
@classmethod
def parse_options(cls, option: Namespace) -> None: ...
def run(self) -> Generator[tuple[int, int, str, type[Any]], None, None]: ...
def tag_class_functions(self, cls_node: ast.ClassDef) -> None: ...
def set_function_nodes_types(self, nodes: Iterable[ast.AST], ismetaclass: bool, late_decoration: dict[str, str]) -> None: ...
def __getattr__(self, name: str) -> Any: ... # incomplete (other attributes are normally not accessed)
def __getattr__(name: str) -> Any: ... # incomplete (other attributes are normally not accessed)