-
Notifications
You must be signed in to change notification settings - Fork 907
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
Rule Q000-Q002 started to cause panic #10546
Comments
Thanks! Let me look at it tonight. |
This is happening because the checker is analyzing the string inside the annotation (three strings inside For example, here
We could potentially fix the range for the rules to be useful in the context of type annotation or ignore them completely. Nevertheless, we should completely avoid rules which might update the quotes because otherwise we need the context of the quote which contains the actual type annotation. |
ruff 0.3.4
(latest changes from main branch)
file content:
error
python_compressed.zip
Probably caused by #10312
CC @dhruvmanila
The text was updated successfully, but these errors were encountered: