Skip to content

chore: enforce type annotations on every function - #11

Merged
PaJson merged 1 commit into
mainfrom
chore/enforce-annotations
Oct 25, 2026
Merged

PaJson merged 1 commit into
mainfrom
chore/enforce-annotations

Conversation

@PaJson

@PaJson PaJson commented Oct 25, 2026

Copy link
Copy Markdown
Owner
  • Pyright reportMissingParameterType is now an error; the ~600 missing parameter types are filled in
  • tests/test_annotations.py requires a return type on every function (Pyright has no rule for it)
  • a few signatures were tightened or made honest (Optional) where the new types exposed a mismatch
  • CLAUDE.md states the rule and how it is enforced

- Pyright `reportMissingParameterType` is now an error; the ~600 missing parameter types are filled in
- `tests/test_annotations.py` requires a return type on every function (Pyright has no rule for it)
- a few signatures were tightened or made honest (`Optional`) where the new types exposed a mismatch
- CLAUDE.md states the rule and how it is enforced

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@PaJson
PaJson merged commit 7da91e7 into main Oct 25, 2026
7 checks passed
@PaJson
PaJson deleted the chore/enforce-annotations branch October 25, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant