Answer architecture round 1: 0 🔴, 2 🟡; name the next release's test, state both cases of the plan reader, keep one release formatter

This commit is contained in:
2026-10-18 10:37:48 +02:00
parent 83701e20aa
commit ab081dd33f
6 changed files with 15 additions and 14 deletions
+5
View File
@@ -266,6 +266,11 @@ def release_of(version: str) -> tuple[int, int, int]:
return major, minor, patch
def version(release: tuple[int, int, int]) -> str:
"""The version a release names, such as 0.2.1: release_of's inverse."""
return ".".join(map(str, release))
def check_cells(row: str, named: dict[str, str]) -> Failure | None:
"""Holds the row's ID, Release, Exempt and Item cells to the format: why one breaks it, None when none does."""
id_, release, exempt, tagline = named["ID"], named["Release"], named["Exempt"], named["Item"]