-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
formatterRelated to the formatterRelated to the formatterpreviewRelated to preview mode featuresRelated to preview mode features
Milestone
Description
"""Test docstring"""
a = 1On the playground this does not currently get a newline added with the format option turned on.
Recently a PR of mine got merged to black to include a newline after the module docstring:
psf/black#3932
Most credits should go to others though for that PR as I mostly copied and rebased code.
It's still in the preview style but got generally favourable responses when initially proposed a couple of year ago. Since nobody has really objected to it during its previous iterations I expect it to be part of the default style some day.
Would ruff be open to to include this change to ruff format as well?
EDIT: Oh, and congrats on the 0.1.0 release 🎉
Avasam
Metadata
Metadata
Assignees
Labels
formatterRelated to the formatterRelated to the formatterpreviewRelated to preview mode featuresRelated to preview mode features