docs: split clause semicolons in new comments

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 06:45:11 +01:00
1 parent 36f2d1129e
commit f10fa21d17
12 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ def section(text: str, heading: str, *, stop: int | None = None) -> str:
higher (the heading's own level by default).
The heading is its text, or the full line with its hashes, which then
fix its level; a trailing ``{ #anchor }`` is optional either way."""
fix its level. A trailing ``{ #anchor }`` is optional either way."""
title = heading.lstrip("#")
hashes = heading[: len(heading) - len(title)]
title = title.strip()
+1 -1
View File
@@ -129,7 +129,7 @@ class RocknixScraper(unittest.TestCase):
self.assertIs(entries["scph1001.bin"]["md5_list"], True)
def test_altmd5_is_kept_by_every_fork(self):
"""checkBios reads altmd5; only the ROCKNIX copy of the reader kept it."""
"""checkBios reads altmd5, and only the ROCKNIX copy of the reader kept it."""
script = SCRIPT.replace('"file": "bios/scph5500.bin"', f'"altmd5": "{A}", "file": "bios/scph5500.bin"')
self.assertEqual(self._requirements(script)["scph5500.bin"]["alt_md5"], A)
self.assertEqual(_files(_scraped(script))["scph5500.bin"]["alt_md5"], A)
+1 -1
View File
@@ -2713,7 +2713,7 @@ class TestE2E(unittest.TestCase):
output = buf.getvalue()
self.assertIn("test.bin", output)
self.assertIn("sha1abc", output)
# The record's path, the one field the schema gives it; a read of
# The record's path, the one field the schema gives it. A read of
# "paths" printed nothing.
self.assertIn("Path: bios/Mfr/Console/test.bin", output)
self.assertEqual(missing, 0)
+1 -1
View File
@@ -100,7 +100,7 @@ class TheRunningBuildPlacesTheGap(unittest.TestCase):
class EveryGapReportFoldsCase(unittest.TestCase):
"""The command line passed folded_slots and the site did not, so the
gaps page listed RetroBat files the CLI report settled; later the CLI
gaps page listed RetroBat files the CLI report settled. Later the CLI
passed declared_contents and the site did not, 20 gaps apart. Both
take their scope from packs.crossref.global_report_scope."""
+1 -1
View File
@@ -838,7 +838,7 @@ class UnreadableReleaseStopsTheScrape(unittest.TestCase):
def test_emudeck_cheat_sheet_raises(self):
"""A refused cheat sheet was read as empty and its systems left
emudeck.yml; only a 404 says the sheet is gone."""
emudeck.yml. Only a 404 says the sheet is gone."""
scraper = emudeck_scraper.Scraper(checkbios_url="pinned", csv_base_url="https://x")
with mock.patch("urllib.request.urlopen", self._refuse), self.assertRaises(
ConnectionError