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
This second result seems better because more consistent, but I am not sure it is the expected behaviour since for vertical whitespace, Black tries to render one full expression or simple statement per line. If this fits the allotted line length.
Feel free to close this issue if you consider this to be the wished for behaviour of black, or consider this as a bug / to be improved otherwise.
The text was updated successfully, but these errors were encountered:
Thank you @graingert for letting me know about those pesky duplicates! I typically don't check design issues for duplicates as clear duplicates are harder to identify. I've closed them now and marked them as duplicates.
Operating system: Linux
Python version: 3.6.7
Black version: 19.3b0
Does also happen on master: kind of
With black 19.3b0, I notice the following behaviour
I would expect the second function to be formatted in a similar way as the first one. i tried it out with
master
version onlineThis brings the following result:
This second result seems better because more consistent, but I am not sure it is the expected behaviour since
for vertical whitespace, Black tries to render one full expression or simple statement per line. If this fits the allotted line length
.Feel free to close this issue if you consider this to be the wished for behaviour of black, or consider this as a bug / to be improved otherwise.
The text was updated successfully, but these errors were encountered: