-
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
[Autofix error] Autofix error with if statement #3619
Comments
Is the initial example valid Python? I can't get that to parse under Python 3.11. |
|
I cannot find original file with this lines. I tried to run this with several python versions and with each I had parse error, so the problem here is probably with recognizing this file by ruff as valid |
I think it's an error that Ruff doesn't flag the original source as invalid syntax. |
Such files I reported upstream - RustPython/Parser#66 |
I'm going to close this one in favor of the RustPython issue. |
Ruff a45753f
25633_parse9.py.zip
with
The text was updated successfully, but these errors were encountered: