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
Operating system: Win10 Version 10.0.18362 Build 18362
Python version: 3.7.3 Black version: 9.3b0
Does also happen on master: Yes
Input:
defg() ->None:
name_of_local_variable="Very long string value that should be placed on the next line"f(
name_of_the_parameter="Very long string value that should be placed on the next line"
)
Output:
defg() ->None:
name_of_local_variable= (
"Very long string value that should be placed on the next line"
)
f(
name_of_the_parameter="Very long string value that should be placed on the next line"
)
name_of_local_variable's value is put on the next line, but name_of_the_parameter is untouched.
This is true even if I use name_of_the_parameter=lambda x: "Very long string value that should be placed on the next line" which gives two opportunities for wrapping.
The text was updated successfully, but these errors were encountered:
This pull request's main intention is to wraps long strings (as requested by #182); however, it also provides better string handling in general and, in doing so, closes the following issues:
Closes#26Closes#182Closes#933Closes#1183Closes#1243
Operating system: Win10 Version 10.0.18362 Build 18362
Python version: 3.7.3
Black version: 9.3b0
Does also happen on master: Yes
Input:
Output:
name_of_local_variable
's value is put on the next line, butname_of_the_parameter
is untouched.This is true even if I use
name_of_the_parameter=lambda x: "Very long string value that should be placed on the next line"
which gives two opportunities for wrapping.The text was updated successfully, but these errors were encountered: