symfonic.diagnostics.severity¶
severity ¶
Severity levels for symfonic doctor audit checks (v7.16, item 5).
Ordering: INFO < WARN < ERROR. Used by the runner to
compute the overall exit code and by --strict to promote WARN
results into a non-zero exit.
Severity ¶
Bases: StrEnum
Audit-check severity.
Inherits from str (via :class:enum.StrEnum) so the JSON output
(--json mode) emits the short uppercase label without a custom
encoder.
rank
property
¶
Numeric rank for comparison.
Higher means more severe. Used by
:meth:AuditReport.worst_severity and the runner's exit-code
calculator without exposing the internal ordering to call sites.