Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra committed Nov 23, 2023
1 parent 129349c commit 6ff017b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/black/lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,8 @@ def _maybe_empty_lines(self, current_line: Line) -> Tuple[int, int]:
return 0, 1
return before, 1

# In preview mode, always allow blank lines, except right before a function docstring
# In preview mode, always allow blank lines, except right before a function
# docstring
is_empty_first_line_ok = (
Preview.allow_empty_first_line_in_block in current_line.mode
and (
Expand Down

0 comments on commit 6ff017b

Please # to comment.