refactor(types): Phase 4 type hint sweep — core modules

This commit is contained in:
2026-02-28 15:13:55 -05:00
parent ca04026db5
commit 46c2f9a0ca
10 changed files with 52 additions and 42 deletions

View File

@@ -26,6 +26,7 @@ context block that replaces full file contents in the initial <context> send.
import ast
import re
from pathlib import Path
from typing import Callable
# ------------------------------------------------------------------ per-type extractors
@@ -138,7 +139,7 @@ def _summarise_generic(path: Path, content: str) -> str:
return "\n".join(parts)
# ------------------------------------------------------------------ dispatch
_SUMMARISERS = {
_SUMMARISERS: dict[str, Callable[[Path, str], str]] = {
".py": _summarise_python,
".toml": _summarise_toml,
".md": _summarise_markdown,