Skip to content
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

C408 autofix dict(x=y) -> {"x": y} doesn't respect quote style #3123

Closed
bluetech opened this issue Feb 22, 2023 · 0 comments · Fixed by #3128
Closed

C408 autofix dict(x=y) -> {"x": y} doesn't respect quote style #3123

bluetech opened this issue Feb 22, 2023 · 0 comments · Fixed by #3128
Assignees
Labels
bug Something isn't working

Comments

@bluetech
Copy link
Contributor

It always uses " style:

https://github.com/charliermarsh/ruff/blob/48005d87f8721be6e655f1a959b46e1b5bf97940/crates/ruff/src/rules/flake8_comprehensions/fixes.rs#L522-L532

@charliermarsh charliermarsh added the bug Something isn't working label Feb 22, 2023
@charliermarsh charliermarsh self-assigned this Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants