Answer product-owner round 2: 0 🔴, 0 🟡 (0 misread); say none found where the branch lists no round commits
This commit is contained in:
@@ -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 <pass> round`; they merge once the gate passes"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user