yapf icon indicating copy to clipboard operation
yapf copied to clipboard

Fix No blank line after if/for/while/def

Open ashmichheda opened this issue 2 years ago • 2 comments
trafficstars

This PR fixes #1091

ashmichheda avatar Nov 13 '23 22:11 ashmichheda

Some blank line is uesd to make code more readable. It shouldn't be so decisive to remove all blank. This issue just wanna remove the black at the begining of a code block. Please at least add a knob if you have a plan to merge the feature that remove other blank lines. @bwendling

EeyoreLee avatar Nov 20 '23 02:11 EeyoreLee

Please add a new knob + appropriate tests

Spitfire1900 avatar Jan 20 '24 20:01 Spitfire1900