yapf
yapf copied to clipboard
No blank line after if/for/while/def, etc.
Currently, yapf formats the following code:
if True:
print(2)
like this:
if True:
print(2)
However, I don't want to have blank lines right at the beginning of blocks, e.g. I want yapf to do this:
if True:
print(2)
I thought that a knob would exist for this for sure, but I wasn't able to find it - could you please point me in the right direction?
Hello! Can this be assigned to me? I would like to work on it.
Hello! Can this be assigned to me? I would like to work on it.
I don't think there is a practice of assigning in this project, just open a PR that says closes #1091
in the description field.