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
Right now, if you def a function inside an if block, a new line is introduced between the if and the def. I think this looks too spaced out and unpleasant to read.
Examples in the current Black style
if condition:
def func():
...
func()
Desired style
if condition:
def func():
...
func()
Additional context Add any other context about the problem here.
This is related to #196, but that issue seems to be for functions defined directly in other functions, not in blocks.
The text was updated successfully, but these errors were encountered:
Describe the style change
Right now, if you
def
a function inside an if block, a new line is introduced between theif
and thedef
. I think this looks too spaced out and unpleasant to read.Examples in the current Black style
Desired style
Additional context Add any other context about the problem here.
This is related to #196, but that issue seems to be for functions defined directly in other functions, not in blocks.
The text was updated successfully, but these errors were encountered: