Go to the source code of this file.
Namespaces | |
| namespace | audit_generic_expansion |
Functions | |
| dict | audit_generic_expansion.load_contract () |
| Load the forbidden-signature contract. | |
| audit_generic_expansion.iter_markdown (dict contract) | |
| Yield every repository Markdown file inside the contract's scan scope. | |
| str | audit_generic_expansion.normalize (str text) |
| Collapse whitespace so formatting changes cannot hide an exact template copy. | |
| list[str] | audit_generic_expansion.scan (dict contract) |
| Collect every forbidden-signature hit in the Markdown corpus. | |
| int | audit_generic_expansion.main () |
| Fail when generic expansion debris is present in the Markdown corpus. | |
Variables | |
| audit_generic_expansion.REPO_ROOT = Path(__file__).resolve().parents[2] | |
| str | audit_generic_expansion.CONTRACT_PATH = REPO_ROOT / "tests" / "tooling" / "generic_expansion_contract.json" |