1 from _typeshed import StrOrBytesPath
2 from typing import Iterable
7 class NannyNag(Exception):
8 def __init__(self, lineno: int, msg: str, line: str) -> None: ...
9 def get_lineno(self) -> int: ...
10 def get_msg(self) -> str: ...
11 def get_line(self) -> str: ...
13 def check(file: StrOrBytesPath) -> None: ...
14 def process_tokens(tokens: Iterable[tuple[int, str, tuple[int, int], tuple[int, int], str]]) -> None: ...