Wrapping lines of a function signature that uses the new python 3.12 generic type parameter syntax #4071
Labels
F: linebreak
How should we split up lines?
S: accepted
The changes in this design / enhancement issue have been accepted and can be implemented
T: style
What do we want Blackened code to look like?
Context:
python 3.12 new feature:
Example in the current Black style:
Enforcing black to wrap lines gives the ugly:
Desired style:
Additional context
python==3.12
black==23.11.0
Windows==11
VScode==1.84.2
VScode extension! Black Formatter==v2023.6.0
Credits:
Thank you for your great tool.
Patrick, Paris, France.
The text was updated successfully, but these errors were encountered: