Module

contracts.rules_chirpui_runtime

ChirpUI runtime contract checks.

Functions

check_chirpui_runtime_registration 2 list[ContractIssue]
Warn when app templates use ChirpUI without registering the runtime. Chirp's t…
def check_chirpui_runtime_registration(template_sources: dict[str, str], extras: dict[str, object]) -> list[ContractIssue]

Warn when app templates use ChirpUI without registering the runtime.

Chirp's templating fallback can make ChirpUI macros render even when an app forgotuse_chirp_ui(app). That is useful for filters, but it does not servechirpui.css / chirpui-alpine.jsor register ChirpUI checks.

Parameters
Name Type Description
template_sources dict[str, str]
extras dict[str, object]
Returns
list[ContractIssue]