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
Formatter: string_processing
preview style
#6936
Comments
My first reaction is that this is similar to Prettier's/Rome's JSX formatting and that we need to use
The main concern with this is performance:
|
string_processing
)
string_processing
)string_processing
preview style
Black no longer wraps implicitly concatenated strings used as func args in parens, due to this comment. |
fyi in case anyone was confused and thought this feature was removed in black version 24.1 like i did, the string processing now has to be enabled with |
Black considers to not move forward with the |
Add support for Black's improved string processing.
Examples
Observations:
+
operatorThe strings must be parenthesized in some contexts, see https://github.com/psf/black/pull/3162/files
The text was updated successfully, but these errors were encountered: