Cli
provide.testkit.quality.cli
¶
CLI commands for quality analysis.
Classes¶
Functions¶
analyze_command
¶
analyze_command(
path: Path,
tool: tuple[str, ...],
artifact_dir: Path,
format: str,
fail_fast: bool,
config: Path | None,
verbose: bool,
) -> None
Analyze code quality for the given path.
Source code in provide/testkit/quality/cli.py
complexity_command
¶
complexity_command(
path: Path,
max_complexity: int,
min_grade: str,
artifact_dir: Path,
verbose: bool,
) -> None
Run complexity analysis on the given path.
Source code in provide/testkit/quality/cli.py
coverage_command
¶
coverage_command(
path: Path,
min_coverage: float,
artifact_dir: Path,
html: bool,
xml: bool,
verbose: bool,
) -> None
Run coverage analysis on the given path.
Source code in provide/testkit/quality/cli.py
gates_command
¶
gates_command(
path: Path,
coverage: float | None,
security: float | None,
complexity: int | None,
documentation: float | None,
config: Path | None,
artifact_dir: Path,
verbose: bool,
) -> None
Run quality gates on the given path.
Source code in provide/testkit/quality/cli.py
quality_cli
¶
security_command
¶
Run security analysis on the given path.