Skip to content

rs_rich.ext.qa

Generated from the type stubs by scripts/gen_python_api.py; do not edit.

rs_rich.ext.qa: screenshots, stress, lint, explain, profile, fuzz, matrix and benchmarks (rich_ext::qa).

Each tool returns a QaReport (data, ok; printing it shows the Rust report), except screenshot, which returns the shots.

No Rich counterpart: this is the port's own rs-rich-ext crate.

screenshot module-attribute

screenshot = qa_screenshot

stress module-attribute

stress = qa_stress

lint module-attribute

lint = qa_lint

explain module-attribute

explain = qa_explain

profile module-attribute

profile = qa_profile

fuzz module-attribute

fuzz = qa_fuzz

matrix module-attribute

matrix = qa_matrix

bench module-attribute

bench = qa_bench

QaReport

What a rs_rich.ext.qa tool found; prints as the Rust report.

kind property

kind: str

ok property

ok: bool

data property

data: Any

qa_screenshot

qa_screenshot(name: str, renderable: Any, *, widths: Optional[List[int]] = ..., color: Optional[List[str]] = ..., unicode: Optional[List[bool]] = ..., hyperlinks: bool = ..., height: Optional[int] = ..., approvals: Any = ..., approve: Optional[bool] = ...) -> List[Dict[str, Any]]

qa_stress

qa_stress(renderable: Any, *, widths: Optional[List[int]] = ..., heights: Optional[List[Optional[int]]] = ..., unicode: bool = ..., line_tolerance: int = ..., strict_minimum: bool = ...) -> QaReport

qa_lint

qa_lint(renderable: Any, *, widths: Optional[List[int]] = ..., color: str = ..., unicode: bool = ..., hyperlinks: bool = ..., layout: bool = ...) -> QaReport

qa_explain

qa_explain(renderable: Any, target: Any = ..., *, width: int = ...) -> QaReport

qa_profile

qa_profile(renderable: Any, *, width: int = ..., iterations: int = ..., warmup: int = ..., frame: Optional[Tuple[int, int]] = ...) -> QaReport

qa_fuzz

qa_fuzz(seed: int = ..., cases: int = ...) -> QaReport

qa_matrix

qa_matrix(fixtures: Dict[str, Any], *, profiles: Optional[List[str]] = ..., width: int = ...) -> QaReport

qa_bench

qa_bench(name: str, renderable: Any, *, width: int = ..., warmup: float = ..., target_time: float = ..., min_samples: int = ..., max_samples: int = ...) -> QaReport