From 3ef47907d0d2674fc806fdfea44a3346d30ce82c Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 28 Oct 2026 18:17:04 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20product-owner=20round=202:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=200=20=F0=9F=9F=A1=20(0=20misread);=20say=20none?= =?UTF-8?q?=20found=20where=20the=20branch=20lists=20no=20round=20commits?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/rule_hook/round_cap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rule_hook/round_cap.py b/bin/rule_hook/round_cap.py index a849aa23..7fd6b347 100644 --- a/bin/rule_hook/round_cap.py +++ b/bin/rule_hook/round_cap.py @@ -17,7 +17,7 @@ def round_cap_breaches(commit: Commit) -> list[Breach]: def refusal(name: str, title: str, earlier: list[str]) -> str: """Why title, a round title of the pass name, is refused, listing the pass's round commits counted, and how to commit the fixes in hand.""" counted = [earlier_title for earlier_title in earlier if (named := ROUND.match(earlier_title)) and named.group(1).lower() == name] - listed = ", ".join(f"`{counted_title}`" for counted_title in counted) or "none" + listed = ", ".join(f"`{counted_title}`" for counted_title in counted) or "none found" return f"this would be {name}'s round {round_counts([*counted, title])[name]}, past its {CAP}; {name}'s round commits on this branch: {listed}. Fold the fixes into its last round commit with `git commit --amend` where that is the newest commit, or commit them under a title that doesn't open `Answer round`; they merge once the gate passes"