You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
string="test test test test test test test test test test test test test test test test test test test test test test test test test test test test test"
Expected behavior
A string split over 2 lines.
Environment
Black's version: v2024.2.0
OS and Python version: Windows 10, Python 3.12.2. Running in VS code
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.
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.
That was the case for many preview formats, however this specific one was moved under the new --unstable flag instead. See also #4208
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: