Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for PEP 696 generic defaults #1278

Merged
merged 1 commit into from
Mar 18, 2025
Merged

add support for PEP 696 generic defaults #1278

merged 1 commit into from
Mar 18, 2025

Conversation

asottile
Copy link
Member

resolves #1277

@@ -23,7 +23,7 @@ def lasting(self, duration=300):
'''
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
2 participants