Skip to content

Simplify Generator[T, None, None] to Generator[T] - #524

Merged
karlicoss merged 1 commit into
masterfrom
codex/simplify-generator-annotations
Oct 31, 2026
Merged

karlicoss merged 1 commit into
masterfrom
codex/simplify-generator-annotations

Conversation

@karlicoss

Copy link
Copy Markdown
Owner

Replace all 10 Generator[T, None, None] annotations across 9 files with Generator[T], preserving the yielded types and using the default send/return types.

Validated on Python 3.12 with the repository's ruff, format, tests-core, mypy-core, and ty-core tox environments. All passed; core tests: 125 passed, 5 skipped. git diff --check is clean.

@karlicoss
karlicoss merged commit 85d0ecd into master Oct 31, 2026
20 checks passed
@karlicoss
karlicoss deleted the codex/simplify-generator-annotations branch October 31, 2026 20:53
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