-
Notifications
You must be signed in to change notification settings - Fork 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
Consider respecting avoid-escape
when enforcing other flake8-quotes
rules
#7889
Comments
I think this is a bug because we aren't respecting |
@charliermarsh Thanks for the quick answer. |
I would guess in the next week or two? |
That's true although flake8 t.py --no-avoid-escape Maybe related #2400 |
avoid-escape
when enforcing other flake8-quotes
rules
@charliermarsh Any progress on this topic? |
I'm sorry there hasn't been any progress here but we might want to hold off until #7927 is finalized and merged as that could simplify the implementation of |
Ok thanks @dhruvmanila. When do you estimate this could be done? |
hi @dhruvmanila, @charliermarsh When do you estimate this might be fixed? |
@BT-rmartin please do not bump issues repeatedly. #7927 is still in-progress. Updates will be posted here when progress is made on this issue. |
My Ruff version is 0.0.292
My configuration of Ruff is
I had a file like this
When running ruff . --fix, it produces a file like this, which is mixing up single quote and double quote in the summary key due to the apostrophe it had there
I would expect that it's able to escape the apostrophe as I have avoid-escape = false.
Could you please tell me what is wrong here?
Anothe working option for me would be to ignore the flake8-quotes for specific files. Is that possible?
Thanks in advance
The text was updated successfully, but these errors were encountered: