Skip to content

Commit

Permalink
Merge branch 'main' into east-asian-width
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra authored Mar 19, 2023
2 parents 3593955 + dba3c26 commit 82e39e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/black/lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ def _maybe_empty_lines(self, current_line: Line) -> Tuple[int, int]:
before = 1
elif (
not depth
and self.previous_defs[-1]
and self.previous_defs[-1].depth
and current_line.leaves[-1].type == token.COLON
and (
current_line.leaves[0].value
Expand Down

0 comments on commit 82e39e8

Please sign in to comment.