style(s51): ruff format hitl module + tests
Gate: ruff format --check . clean.
This commit is contained in:
parent
eaca95a325
commit
5807ac428c
3 changed files with 48 additions and 11 deletions
|
|
@ -261,7 +261,9 @@ def main(argv: list[str] | None = None) -> int:
|
|||
sub = parser.add_subparsers(dest="command", required=True)
|
||||
|
||||
p_pending = sub.add_parser("pending", help="list proposals still awaiting an expert verdict")
|
||||
p_pending.add_argument("--outbox-dir", required=True, help="run outbox (proposal/outcome files)")
|
||||
p_pending.add_argument(
|
||||
"--outbox-dir", required=True, help="run outbox (proposal/outcome files)"
|
||||
)
|
||||
p_pending.add_argument("--verdict-dir", required=True, help="expert verdict inbox")
|
||||
|
||||
p_route = sub.add_parser("route", help="route pending proposals to experts by cost-code prefix")
|
||||
|
|
@ -287,7 +289,9 @@ def main(argv: list[str] | None = None) -> int:
|
|||
print(f"{p.run_id} {p.verdict_id} → UNROUTABLE")
|
||||
else:
|
||||
suffix = " AMBIGUOUS" if routed.ambiguous else ""
|
||||
print(f"{p.run_id} {p.verdict_id} → {routed.expert} [dim:{routed.dimension_id}]{suffix}")
|
||||
print(
|
||||
f"{p.run_id} {p.verdict_id} → {routed.expert} [dim:{routed.dimension_id}]{suffix}"
|
||||
)
|
||||
return 0
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue