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.
QaReport ¶
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_profile ¶
qa_profile(renderable: Any, *, width: int = ..., iterations: int = ..., warmup: int = ..., frame: Optional[Tuple[int, 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