fix(plan): apply ruff format to plan.py
CI / lint (pull_request) Successful in 54s
CI / typecheck (pull_request) Successful in 1m12s
CI / quality (pull_request) Successful in 1m12s
CI / security (pull_request) Successful in 1m19s
CI / push-validation (pull_request) Successful in 28s
CI / helm (pull_request) Successful in 30s
CI / build (pull_request) Successful in 54s
CI / unit_tests (pull_request) Failing after 4m32s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / integration_tests (pull_request) Failing after 4m34s
CI / status-check (pull_request) Failing after 4s

Fixes ruff format check failure in CI lint gate.
This commit is contained in:
2026-06-10 23:19:10 -04:00
parent 8e890b5480
commit 8b06a8bb2c
+2 -6
View File
@@ -4080,9 +4080,7 @@ def _render_tree_anonymous(
d_type = str(node.get("type", "unknown"))
d_id = str(node["decision_id"])
d_question = str(node.get("question", ""))[:40]
icon, col_start, col_end = _TREE_TYPE_COLOURS.get(
d_type, ("", "", "")
)
icon, col_start, col_end = _TREE_TYPE_COLOURS.get(d_type, ("", "", ""))
if not col_start:
col_start = f"{_TREE_BOLD}{_TREE_GREEN}"
col_end = _TREE_RESET
@@ -4125,9 +4123,7 @@ def _render_tree_anonymous(
dl = _get_decision_label(
d.decision_type, decision_ordinals.get(d.decision_id, 0)
)
icon, col_start, col_end = _TREE_TYPE_COLOURS.get(
d.decision_type, ("", "", "")
)
icon, col_start, col_end = _TREE_TYPE_COLOURS.get(d.decision_type, ("", "", ""))
if col_start:
lines.append(f" {icon}{col_start}{dl}: {d.decision_id}{col_end}")
else: