Skip to content

use postponed evaluation of annotations#5071

Merged
davidism merged 1 commit intomainfrom
future-annotations
Apr 20, 2023
Merged

use postponed evaluation of annotations#5071
davidism merged 1 commit intomainfrom
future-annotations

Conversation

@davidism
Copy link
Copy Markdown
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.

1 participant