Answer product-owner round 1: 1 🔴, 2 🟡 (1 misread); list an unscored joining item, and pass rank_todo.py --check for a plan in Jira
This commit is contained in:
@@ -106,6 +106,9 @@ def main(argv: list[str]) -> int:
|
||||
config = located(None, pathlib.Path.home())
|
||||
if isinstance(config, Failure):
|
||||
return fail(config)
|
||||
if config.plan_file is None and args == (True, None):
|
||||
# Jira's backlog ranks a plan kept there, so the check passes, as silently as on a ranked todo.md: chunk-preflight runs it on every project.
|
||||
return 0
|
||||
if config.plan_file is None:
|
||||
return fail(Failure(f"rank_todo.py ranks a todo.md, and this checkout's config keeps the plan in Jira, whose backlog ranks it: {config.plan_label}"))
|
||||
check, todo = args[0], args[1] or config.plan_file
|
||||
|
||||
Reference in New Issue
Block a user