Skip to content

Conversation

@davidism
Copy link
Member

Add from __future__ import annotations to every file that may be annotated. Replace old Union, Optional, and types with their modern equivalent syntax using pyupgrade (with some extra setup work first since it doesn't understand t.Union, only Union).

@davidism davidism added this to the 2.3.0 milestone Apr 20, 2023
@davidism davidism merged commit a4ea5df into main Apr 20, 2023
@davidism davidism deleted the future-annotations branch April 20, 2023 16:36
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants