Skip to content

Conversation

jbjd
Copy link
Contributor

@jbjd jbjd commented Mar 30, 2025

This PR fixes the issue I reported, #830

It effectively reverts part of this commit so that annotations in scope are allowed to be re-assigned.

@asottile asottile changed the title Fix incorrect F821 error Allow an assignment expression to redefine an annotation Mar 30, 2025
Copy link
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

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

@asottile asottile merged commit 87051d2 into PyCQA:main Mar 30, 2025
9 checks passed
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