Skip to content

Conversation

asottile
Copy link
Member

No description provided.

Comment on lines 1218 to +1222
self._in_annotation == AnnotationState.STRING or
self.annotationsFutureEnabled
(
self._in_annotation == AnnotationState.BARE and
(self.annotationsFutureEnabled or sys.version_info >= (3, 14))
)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there was a subtle bug here with the existing code -- I added a test for it below

@asottile asottile merged commit e5d4ba1 into main May 23, 2025
10 checks passed
@asottile asottile deleted the py314 branch May 23, 2025 22:44
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