-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Strings not being formatted by Black #4356
Comments
That was the case for many preview formats, however this specific one was moved under the new |
I see! I'm a little bit confused, so what's the argument now if I want to test if it'll help me or not? Like what should I add in my settings file? |
You can add |
Describe the bug
Strings longer than my set character limit (79) don't get formatted like the rest of the code.
To Reproduce
For example, take this code:
Expected behavior
A string split over 2 lines.
Environment
Additional context
I saw posts about this being fixed by adding "--preview" Argument. That didn't help. However, read on multiple issues that it will be the default setting starting in 2024.
These are my settings:
Should this also work with comments or just strings?
The text was updated successfully, but these errors were encountered: