Replies: 1 comment
-
Hi @beauxq Ruff does support a few options that allow customizing the preferred quote styles, but you're looking for something more flexible. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To be friendly to people with habits from C/Java/Rust
I would like to enforce double quotes for all strings with 0 or 2 or more characters.
For strings with 1 character, either single quotes or double quotes is ok.
Is there any way to configure ruff this way?
Beta Was this translation helpful? Give feedback.
All reactions