-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
PEP 585 support is broken. #9873
Labels
bug
mypy got something wrong
Comments
I'm running into this again with the same example. On Python 3.12, Mypy 1.11.0, MacOS 14 |
I also am seeing this error
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
PEP 585 support seems broken.
To Reproduce
Run mypy over
foo: list[int] = [1, 2, 3]
Expected Behavior
No errors.
Actual Behavior
"list" is not subscriptable, use "typing.List" instead
error.Your Environment
The text was updated successfully, but these errors were encountered: