Skip to main content

Module check

Module check 

Source
Expand description

CI check runner — configurable security, complexity, and dead-code gates.

Load thresholds from .infigraph/check.toml (with sane defaults), run the enabled checks, and return per-check PASS/FAIL results suitable for CI exit codes and human-readable or JSON output.

Structs§

CheckConfig
Top-level config loaded from .infigraph/check.toml.
CheckResult
A single named check result with summary details.
CheckSelection
Which checks to run.
ComplexityConfig
DeadCodeConfig
SecurityConfig
VulnCheckConfig

Enums§

CheckStatus

Functions§

format_json
Format results as JSON.
format_table
Format results as a human-readable table.
load_config
Load check config from a TOML file path. Falls back to defaults if the file is missing.
run_checks
Run the selected checks against a project root and return results.