Module

contracts.rules_islands

Island mount metadata checks.

Functions

extract_island_mounts 1 list[dict[str, str | Non…
Extract island mount metadata from template HTML.
def extract_island_mounts(source: str) -> list[dict[str, str | None]]
Parameters
Name Type Description
source str
Returns
list[dict[str, str | None]]
check_island_mounts 2 list[ContractIssue]
Validate framework-agnostic island mount metadata in templates.
def check_island_mounts(template_sources: dict[str, str], *, strict: bool) -> list[ContractIssue]
Parameters
Name Type Description
template_sources dict[str, str]
strict bool
Returns
list[ContractIssue]