Skip to content

Formatting and Documentation#10

Closed
itamarga wants to merge 2 commits intomainfrom
chore/docs
Closed

Formatting and Documentation#10
itamarga wants to merge 2 commits intomainfrom
chore/docs

Conversation

@itamarga
Copy link
Collaborator

No description provided.

- Expand all short variable names (init, expr, stmt, prop, obj, args, etc.)
- Add StrEnum for constant strings (BindingKind, node types, operators)
- Replace if/elif chains with match statements (~20 files)
- Reduce nesting via early exits and extracted helper functions
- Add type hints to all function signatures using '|' union syntax
- Add from __future__ import annotations to all modules
- Add concise docstrings to every function, class, and method
- Enforce single quotes for strings, double quotes for docstrings
- Update tests to match renamed symbols and heuristic outputs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

black && isort
The `type X = ...` syntax requires Python 3.12+, but CI tests on 3.11.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@itamarga itamarga closed this Mar 14, 2026
@itamarga itamarga deleted the chore/docs branch March 14, 2026 14:51
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