-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
False positive on match with object's attribute #1414
Comments
Sadly, we don't yet support structural pattern matching (see: #282). It's the one language feature that we're still working on. |
Fixed as of v0.0.250 which included |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got a false positive SyntaxError in case i am using the match on an object's attribute:
ruff ruff_match.py ruff_match.py:7:12: E999 SyntaxError: invalid syntax. Got unexpected token 'a' Found 1 error(s).
versions:
Python 3.10.6
ruff 0.0.196
The text was updated successfully, but these errors were encountered: