mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
29 lines
860 B
Python
29 lines
860 B
Python
import argparse
|
|
import ast
|
|
from collections.abc import Sequence
|
|
from typing import Any
|
|
|
|
class BugBearChecker:
|
|
name: str
|
|
version: str
|
|
tree: ast.AST | None
|
|
filename: str
|
|
lines: Sequence[str] | None
|
|
max_line_length: int
|
|
visitor: ast.NodeVisitor
|
|
options: argparse.Namespace | None
|
|
def run(self) -> None: ...
|
|
@staticmethod
|
|
def add_options(optmanager: Any) -> None: ...
|
|
def __init__(
|
|
self,
|
|
tree: ast.AST | None = ...,
|
|
filename: str = ...,
|
|
lines: Sequence[str] | None = ...,
|
|
max_line_length: int = ...,
|
|
options: argparse.Namespace | 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)
|