Create CLI pipeline entrypoint with validation and preview

This commit is contained in:
Rob committed 2026-04-21 15:39:30 +02:00
1 parent 5436315952
commit 7e8e68a9d8
3 files changed
+128 -6

No files matched your search

+1 -1
View File
@@ -266,6 +266,7 @@ def validate_business_rules(
report_year: int,
allocation_records: list[AllocationRecord],
matched_assignments: list[MatchedAssignment],
project_root: Path,
) -> list[ValidationIssue]:
issues: list[ValidationIssue] = []
@@ -301,7 +302,6 @@ def validate_business_rules(
paths_cfg = config["paths"]
files_cfg = config["files"]
project_root = Path.cwd()
template_path = (
project_root
/ paths_cfg["template_dir"]