docs: strip non-essential comments, fold key facts into docstrings

This commit is contained in:
imSp4rky
2026-08-16 23:32:02 -06:00
parent 66bcbe9377
commit 511f96d8db
81 changed files with 204 additions and 1017 deletions
-9
View File
@@ -46,9 +46,6 @@ def reset_template():
config.output_template, config.folder_templates, config.folder_template, config.tag = saved
# --- validation -------------------------------------------------------------
def test_absolute_defaults_to_none():
assert make_episode().absolute is None
@@ -86,9 +83,6 @@ def test_old_cache_entry_reads_as_absolute_less():
assert restored.absolute is None
# --- naming -----------------------------------------------------------------
def test_absolute_token_is_three_wide(reset_template):
assert make_episode(absolute=7).build_template_context(StubMediaInfo())["absolute"] == "007"
@@ -122,9 +116,6 @@ def test_str_and_sorting_ignore_the_absolute_number():
assert [e.number for e in series] == [1, 2]
# --- the enrich fill --------------------------------------------------------
class _FakeProvider:
def __init__(self, mapping: dict, source_order: str = "official") -> None:
self.mapping = mapping