Answer prose round 1: 0 🔴, 7 🟡 (0 misread); reword the start's settings, docstrings and messages
CI / tests (pull_request) Successful in 3m44s

This commit is contained in:
Lilleman
2026-11-20 18:39:55 +01:00
parent 8a067c8d61
commit 63bd094ec3
5 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ def offer_of(raw: object) -> tuple[str, str, str, str] | None:
def offers_of(offered: object, key: str) -> list[tuple[str, str, str, str]] | Failure:
"""Each transition in Jira's answer about those the issue named key has from its present status, as offer_of answers one."""
"""The transitions Jira offers the issue named key from its present status, each as offer_of answers one. A Failure where offered, Jira's answer, is in another shape."""
raw = offered.get("transitions") if isinstance(offered, dict) else None
found = [offer for each in raw if (offer := offer_of(each))] if isinstance(raw, list) else []
if not isinstance(raw, list) or len(found) != len(raw):