|
| PreCommitResult | oct.git.quality_gate.pre_commit_checks (Path project_root, str branch, str message, bool force_commit, str profile, dict octrc) |
| list[Path] | oct.git.quality_gate._resolve_scope (Path project_root, Literal["staged", "changed", "all"] scope) |
| list[Path] | oct.git.quality_gate._walk_secret_filenames (Path project_root, *, exclude_dirs, wildcard_exclude_dirs, patterns) |
| Path | oct.git.quality_gate._gate_diagnostics_dir (Path project_root) |
| | oct.git.quality_gate._build_linter_context (Path project_root) |
| | oct.git.quality_gate._build_formatter_context (Path project_root, *, bool fix_mode=False) |
| list[str] | oct.git.quality_gate._finding_kinds (str message) |
| list[tuple[str, int, str]] | oct.git.quality_gate._run_secrets_pass (list[Path] all_files, Path project_root, *, float code_entropy_threshold=4.5, float docstring_entropy_threshold=5.0, float comment_entropy_threshold=5.0, str secret_match_mode="substring", list[dict]|None entropy_exclusions=None, list[str]|None excluded_field_patterns=None) |
| dict | oct.git.quality_gate._apply_octrc_to_lint (Path project_root, ctx, dict active_rules, *, str|None profile=None) |
| tuple[int, list[dict]] | oct.git.quality_gate._run_lint_pass (list[Path] py_files, Path project_root, str profile, bool fix_mode=False) |
| set[str] | oct.git.quality_gate._octrc_disabled_lint_rules (Path project_root) |
| set[str] | oct.git.quality_gate._disabled_fixer_rules_for (str rel_posix, set[str] run_disabled, list path_rules) |
| frozenset | oct.git.quality_gate._disabled_fixers_for (set disabled_rules) |
| int | oct.git.quality_gate._run_format_pass (list[Path] py_files, Path project_root, bool fix_mode=False) |
| int | oct.git.quality_gate._run_test_pass (Path project_root, bool sandbox=False) |
| QualityGateResult | oct.git.quality_gate.run_quality_gate (Path project_root, Literal["staged", "changed", "all"] scope, Literal["proto", "compact", "strict"] profile, bool include_tests=False, bool fix=False, bool sandbox=False) |
| list[tuple[str, int, str]] | oct.git.quality_gate.run_secrets_scan_on_files (Path project_root, list[Path] files) |
| QualityGateResult | oct.git.quality_gate.run_quality_gate_on_files (Path project_root, list[Path] files, Literal["proto", "compact", "strict"] profile, bool include_tests=False, bool fix=False, bool sandbox=False) |