Create CLI pipeline entrypoint with validation and preview
This commit is contained in:
1 parent
5436315952
commit
7e8e68a9d8
3 files changed
+128
-6
No files matched your search
@@ -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"]
|
||||
|
||||
Reference in new issue
Block a user