Skip to content

Conversation

@asottile
Copy link
Member

resolves #1277

errors = errors_from_src(src)
if sys.version_info < (3, 12): # pragma: <3.12 cover
expected = ['E122:4:1', 'E251:5:13', 'E251:5:15']
expected = ['E122:4:1']
Copy link
Member Author

Choose a reason for hiding this comment

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

these were due to the E251 check under flowing (which it no longer does now that we track parens in a stack)

@asottile asottile merged commit 24ce381 into main Mar 18, 2025
10 checks passed
@asottile asottile deleted the pep696 branch March 18, 2025 23:58
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.

E251: false positive for PEP 696 TypeVar defaults

3 participants