From a040b1e8826fb2f4c1bd9ab8e0164b549c538d78 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 14 Nov 2026 16:01:55 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20prose=20round=201:=201=20=F0=9F=94=B4,?= =?UTF-8?q?=2010=20=F0=9F=9F=A1=20(0=20misread);=20say=20which=20tools=20s?= =?UTF-8?q?till=20parse=20todo.md=20and=20how,=20drop=20the=20door=20metap?= =?UTF-8?q?hor,=20and=20reword=20the=20help,=20the=20rule's=20hand=20edits?= =?UTF-8?q?=20and=20six=20docstrings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/chunk_preflight/choices.py | 2 +- bin/plan_store/fakes.py | 4 ++-- bin/release_plan/release_standing.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/chunk_preflight/choices.py b/bin/chunk_preflight/choices.py index 73722be4..92256e6c 100644 --- a/bin/chunk_preflight/choices.py +++ b/bin/chunk_preflight/choices.py @@ -26,7 +26,7 @@ def plan_name(default: str, outside: pathlib.Path | None) -> str: def planned(todo: plan_stores.Plan | Failure, cut: LastCut, default: str, branch: str, outside: pathlib.Path | None = None) -> Plan | NoItem: - """The plan in todo, the plan plan_name names as its store read it, with the item the next chunk takes first, release_standing.chunk_item's pick; else why there is none. branch is the project's `branch` template.""" + """todo, which is the project's plan as its store read it and which plan_name names, with the item the next chunk takes first, release_standing.chunk_item's pick; else why there is none. branch is the project's `branch` template.""" where = plan_name(default, outside) if isinstance(todo, NoItemsTable): return NoItem(f"{where} holds no items table.") diff --git a/bin/plan_store/fakes.py b/bin/plan_store/fakes.py index ccb47fc6..51bb8985 100644 --- a/bin/plan_store/fakes.py +++ b/bin/plan_store/fakes.py @@ -9,7 +9,7 @@ from release_plan.todo_table import Item, parse_row, SHAPE, Table @dataclasses.dataclass class MemoryPlan: - """A plan held in memory, as a tracker holds one: in the order filed, unranked, with no bar. Set fails to make every read and write fail with that reason.""" + """A plan held in memory, as a tracker holds one: in the order filed, unranked, with no bar. Where fails is set, every read and write fails with it as the reason.""" rows: dict[int, dict[str, str]] = dataclasses.field(default_factory=dict) details: dict[int, str] = dataclasses.field(default_factory=dict) next_id: int = 1 @@ -39,7 +39,7 @@ class MemoryPlan: return Written(id_) def put(self, id_: int, row: dict[str, str], detail: str) -> Written | Failure: - """Holds row as item id_ where it reads as an item.""" + """Holds row as item id_, or fails where row's cells don't make an item.""" if self.fails: return Failure(self.fails) row = row | {"Item": bold_cell(plain(row.get("Item", "")))} diff --git a/bin/release_plan/release_standing.py b/bin/release_plan/release_standing.py index 96605e0a..ae22c9a8 100644 --- a/bin/release_plan/release_standing.py +++ b/bin/release_plan/release_standing.py @@ -27,7 +27,7 @@ class LastCut: changelog: str | Failure # How many commits follow the tag; on a branch with no tag, those after the commit that added the newest dated CHANGELOG.md heading, or all of them where it has none. commits: int | Failure - # todo.md's text at the tag and at each later commit that changed it, oldest first, as named_releases reads them; where the branch has no tag, at each commit that changed it. Empty where the tags cannot be read. + # todo.md's text at the tag and at each later commit that changed it, oldest first, as named_releases reads them; where the branch has no tag, at each commit that changed it. Empty where the tags cannot be read, and where no commit holds the plan. todos_since: list[str] | Failure # Whether a release review has landed since the tag, as release_reviewed reads it. reviewed: bool | Failure = False