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
My style file has blank_line_before_nested_class_or_def=False.
Yapf 0.19.0 formats like:
asyncdeffoo():
asyncdefbar():
pass
Yapf 0.20.0 changes this to:
asyncdeffoo():
asyncdefbar():
pass
According to git bisect, this was introduced by 58e3694, which seems like it must be a bug, since that commit wasn't intended to change python 3 formatting at all.
The text was updated successfully, but these errors were encountered:
njsmith
added a commit
to njsmith/yapf
that referenced
this issue
Dec 10, 2017
The old code was comparing a generator object against a tuple, which
will never be true. Also it was using token.name, instead of
token.value, for some reason.
Fixesgoogle#484
My style file has
blank_line_before_nested_class_or_def=False
.Yapf 0.19.0 formats like:
Yapf 0.20.0 changes this to:
According to
git bisect
, this was introduced by 58e3694, which seems like it must be a bug, since that commit wasn't intended to change python 3 formatting at all.The text was updated successfully, but these errors were encountered: