| 1 | from _typeshed import StrOrBytesPath |
| 2 | from collections.abc import Iterable |
| 3 | |
| 4 | __all__ = ["check", "NannyNag", "process_tokens"] |
| 5 | |
| 6 | verbose: int |
| 7 | filename_only: int |
| 8 | |
| 9 | class NannyNag(Exception): |
| 10 | def __init__(self, lineno: int, msg: str, line: str) -> None: ... |
| 11 | def get_lineno(self) -> int: ... |
| 12 | def get_msg(self) -> str: ... |
| 13 | def get_line(self) -> str: ... |
| 14 | |
| 15 | def check(file: StrOrBytesPath) -> None: ... |
| 16 | def process_tokens(tokens: Iterable[tuple[int, str, tuple[int, int], tuple[int, int], str]]) -> None: ... |