upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts/launcher_python.sh
diff options
context:
space:
mode:
authord7ommy <abnalstlll@gmail.com>2026-11-23 21:34:02 +0300
committerd7ommy <abnalstlll@gmail.com>2026-11-26 00:31:21 +0300
commita6ee9c028e01a93797ffbd4e6c565177c0fdc392 (patch)
treea2f6bca8268ba217bb22c2c6da8c49dbe593b49b /scripts/launcher_python.sh
parente34ff17e9ade2fb435e98f18b0a8a15a1d99d5f2 (diff)
exe_checklist: stop multi-line doc notes at ordered and plus list items
In tools/exe_checklist.py:doc_notes(), LIST_ITEM defines regex ^(?:[-*+]|\d+[.)])\s+ for list items. However, the continuation loop that collects multi-line notes only checked startswith(("- ", "* ", "#", "|")). When a document used ordered numbered lists (e.g. '1. ', '2. ', '3) ') or '+ ' list items, the loop failed to stop at subsequent items, concatenating them into the prior note text and leaving leading item numbers in the note text. Align the continuation termination check to not LIST_ITEM.match(lines[end].lstrip()) and strip prefixes using LIST_ITEM.sub("", ...). Cover with unit tests in tests/test_exe_checklist.py. No game files. AI-assisted (Gemini).
Diffstat (limited to 'scripts/launcher_python.sh')
0 files changed, 0 insertions, 0 deletions