[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-05-24 21:11:10 +00:00
commit 7c08ade3a4

View file

@ -325,9 +325,8 @@ def _has_answer_artifact(text: str) -> bool:
# themselves start with a strong work verb ("First, I'll:\n
# 1. Load...\n2. Run...") is a plan stall, even when no work
# verb appears before the list.
if (
_STRONG_INTENT_BEFORE_LIST.search(text)
and _NUMBERED_ACTION_ITEM.search(text)
if _STRONG_INTENT_BEFORE_LIST.search(text) and _NUMBERED_ACTION_ITEM.search(
text
):
return False
return _PLAN_LIST_FRAMING.search(text) is None