Line too long: String in return annotation #2699
Labels
F: linetoolong
Black makes our lines too long
F: strings
Related to our handling of strings
T: bug
Something isn't working
To Reproduce
Given input:
Black does not split the long type hint of the function return type
Even if I explicitly attempt to split the string:
then Black collapses it back together :(
Workaround
Only by parenthesizing the type hint I can convince Black to keep it reasonable.
Environment
The text was updated successfully, but these errors were encountered: