-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
F: empty linesWasting vertical space efficiently.Wasting vertical space efficiently.T: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?
Description
Black does not have an opinion on whether there should be a blank line immediately after a module's docstring. This causes inconsistencies across blackened files because whatever the author chooses, stays.
Both examples below satisfy black:
"""Module docstring."""
import typing
"""Module docstring."""
import typing
My preference would be to enforce a blank line.
Related issue: #450
zroug, teauxfu, mcs07, stinos, shifqu and 7 more
Metadata
Metadata
Assignees
Labels
F: empty linesWasting vertical space efficiently.Wasting vertical space efficiently.T: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?