Name the next release's items without a Touches list, and warn of them in rank_todo.py --check
CI / tests (pull_request) Successful in 4m24s
CI / tests (pull_request) Successful in 4m24s
This commit is contained in:
+3
-2
@@ -12,7 +12,8 @@ then by ID. Then it moves each blocker, an item another's Blocked by cell names,
|
||||
an item it blocks to just above the first such item. Orders the details to match. Writes each
|
||||
item's R, and adds the Blocked by and R columns to a table without them. --check doesn't write
|
||||
anything and fails when the file is not ranked as it would be, or when an item's detail holds a
|
||||
`Touches:` list not spelt as `touch-predictions --help` shows.
|
||||
`Touches:` list not spelt as `touch-predictions --help` shows. On a file that passes, it warns on
|
||||
stderr, still exiting 0, where items of the earliest release hold no `Touches:` list, naming them.
|
||||
|
||||
A valid todo.md; ## Details and each item's detail are optional:
|
||||
|
||||
@@ -120,7 +121,7 @@ def main(argv: list[str], home: pathlib.Path) -> int:
|
||||
plan = file_plan(config, todo)
|
||||
if check:
|
||||
failures = plan.check()
|
||||
for line in failures:
|
||||
for line in failures or plan.warnings():
|
||||
print(line, file=sys.stderr)
|
||||
return 1 if failures else 0
|
||||
ranked = plan.rank()
|
||||
|
||||
Reference in New Issue
Block a user