mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Add two more methods to pep8-naming stub (#8864)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user