Skip to content

Use PEP 604 annotations everywhere - #20320

Merged
hauntsaninja merged 3 commits into
python:masterfrom
hauntsaninja:pep604
Nov 28, 2025
Merged

hauntsaninja merged 3 commits into
python:masterfrom
hauntsaninja:pep604

Conversation

@hauntsaninja

Copy link
Copy Markdown
Collaborator

See #20154. Most of this was done with ruff, rest was done by hand

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@hauntsaninja
hauntsaninja merged commit 6cfdd8c into python:master Nov 28, 2025
20 checks passed
@hauntsaninja
hauntsaninja deleted the pep604 branch November 28, 2025 21:01
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.

2 participants