1 # Stubs for tabnanny (Python 2 and 3)
\r
5 from typing import Iterable, Tuple, Union
\r
7 if sys.version_info >= (3, 6):
\r
8 _Path = Union[str, bytes, os.PathLike]
\r
10 _Path = Union[str, bytes]
\r
12 verbose = ... # type: int
\r
13 filename_only = ... # type: int
\r
15 class NannyNag(Exception):
\r
16 def __init__(self, lineno: int, msg: str, line: str) -> None: ...
\r
17 def get_lineno(self) -> int: ...
\r
18 def get_msg(self) -> str: ...
\r
19 def get_line(self) -> str: ...
\r
21 def check(file: _Path) -> None: ...
\r
22 def process_tokens(tokens: Iterable[Tuple[int, str, Tuple[int, int], Tuple[int, int], str]]) -> None: ...
\r