Name the second run's title only where two runs are owed
CI / tests (pull_request) Successful in 2m13s
CI / tests (pull_request) Successful in 2m13s
This commit is contained in:
@@ -39,7 +39,7 @@ def shortfall(reasons: list[str], recorded: int) -> Failure | None:
|
||||
needed = 2 if any(reason.endswith(EMPTIED_WORDS) for reason in reasons) else 1
|
||||
if recorded >= needed:
|
||||
return None
|
||||
return Failure(f"the chunk owes {needed} scoring run{'s' if needed > 1 else ''} and the branch's committed history records {max(recorded, 0)}: it {' and '.join(reasons)}. larv-review's SKILL.md → 'Scoring run' says how to run and record {'them' if needed > 1 else 'it'}; → 'Second run' says how the second is titled")
|
||||
return Failure(f"the chunk owes {needed} scoring run{'s' if needed > 1 else ''} and the branch's committed history records {max(recorded, 0)}: it {' and '.join(reasons)}. larv-review's SKILL.md → 'Scoring run' says how to run and record {'them' if needed > 1 else 'it'}{"; → 'Second run' says how the second is titled" if needed > 1 else ""}")
|
||||
|
||||
|
||||
def has_plan(checkout: str) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user