From faac972bb846f0101a1f54e153a6629358755377 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Thu, 30 Jul 2026 11:03:29 +0100 Subject: [PATCH] docs: remove the Finished./Finish. notebook-generation crutch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1 occurrences: 1 trailing block. These trailing docstring blocks were a crutch against notebook generation "cutting off weird" when a script's last cell was not a docstring. That shape converts correctly and is now pinned by a regression test in PyAutoHands (PyAutoLabs/PyAutoHands#214), so the crutch is dead weight — it rendered as a pointless final markdown cell in every generated notebook. Refs PyAutoLabs/PyAutoHands#211 Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_013XzXdQMU3KV2tyZaMNPvsM --- notebooks/simulators/simulators.ipynb | 9 +-------- scripts/simulators/simulators.py | 4 ---- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/notebooks/simulators/simulators.ipynb b/notebooks/simulators/simulators.ipynb index ea821c4..2a02e79 100644 --- a/notebooks/simulators/simulators.ipynb +++ b/notebooks/simulators/simulators.ipynb @@ -472,17 +472,10 @@ "runpy.run_path(\n", " path.join(path.dirname(path.abspath(__file__)), \"simulators_sample.py\"),\n", " run_name=\"__main__\",\n", - ")" + ")\n" ], "outputs": [], "execution_count": null - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "Finish." - ] } ], "metadata": { diff --git a/scripts/simulators/simulators.py b/scripts/simulators/simulators.py index 8f1c099..422c4c5 100644 --- a/scripts/simulators/simulators.py +++ b/scripts/simulators/simulators.py @@ -218,7 +218,3 @@ path.join(path.dirname(path.abspath(__file__)), "simulators_sample.py"), run_name="__main__", ) - -""" -Finish. -"""