-
Notifications
You must be signed in to change notification settings - Fork 768
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
Rules overrides are not recognised #4551
Labels
Comments
Can you provide us some logs as described in the troubleshooting guide? |
by the way, you can't set ... I just set {
"strictListInference": true
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use Pylance in the "basic" diagnostic mode and want to enable the
strictListInference
rule. I have the code below in my settings.However, when I type
[0, 'a']
e.g., Pylance still hints the list to beList[Unknown]
. Expected toList[int | str]
. Did I make something wrong?The text was updated successfully, but these errors were encountered: