Go to the source code of this file.
Namespaces | |
| namespace | audit_path_literals |
Functions | |
| list | audit_path_literals.tracked_markdown () |
| Markdown files the current commit carries. | |
| bool | audit_path_literals.in_code_block (list lines, int index) |
| Whether a line sits inside a fenced code block. | |
| int | audit_path_literals.main () |
| Fail when narrative prose hardcodes a run-relative path. | |
Variables | |
| audit_path_literals.REPO_ROOT = Path(__file__).resolve().parents[2] | |
| str | audit_path_literals.TOPOLOGY = REPO_ROOT / "tests" / "tooling" / "artifact_topology.json" |
| dict | audit_path_literals.SKIP_DIRS = {".git", "docs_build", "obj", "bin", "stubs", "runs", "studies", "__pycache__", ".pytest_cache"} |
| dict | audit_path_literals.HISTORICAL = {"docs/CHANGELOG.md"} |
| str | audit_path_literals.RUN_OWNED = "config|logs|output|scheduler|visualization|checkpoints" |
| audit_path_literals.MANAGED | |
| audit_path_literals.PLACEHOLDER_ROOT | |
| audit_path_literals.BARE_PREFIX | |
| audit_path_literals.REPO_OWNED = re.compile(r"<repo>/[A-Za-z0-9_][A-Za-z0-9_./*<>-]*") | |
| audit_path_literals.WORKSPACE_OWNED = re.compile(r"<workspace>/[A-Za-z0-9_][A-Za-z0-9_./*<>-]*") | |
| tuple | audit_path_literals.REPO_CONFIG_SUBDIRS |
| audit_path_literals.NOT_RUN_OWNED_PREFIXES | |
| tuple | audit_path_literals.ALLOWED_CONTEXTS |