stubs/pep8-naming/pep8ext_naming.pyi (24 lines of code) (raw):
import ast
from argparse import Namespace
from typing import Any, Generator
__version__: str
PYTHON_VERSION: tuple[int, int, int]
PY2: bool
CLASS_METHODS: frozenset[str]
METACLASS_BASES: frozenset[str]
METHOD_CONTAINER_NODES: set[ast.AST]
class NamingChecker:
name: str
version: str
visitors: Any
decorator_to_type: Any
ignore_names: frozenset[str]
parents: Any
def __init__(self, tree: ast.AST, filename: str) -> None: ...
@classmethod
def add_options(cls, parser: Any) -> None: ...
@classmethod
def parse_options(cls, option: Namespace) -> None: ...
def run(self) -> Generator[tuple[int, int, str, type[Any]], None, 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)