Skip to content

Commit 456f250

Browse files
Add newline after PR sections (#35)
1 parent ac18217 commit 456f250

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/changelist/_format.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ def _format_pr_section(
137137
"""Format a section title and list its pull requests sorted by merge date."""
138138
if pull_requests:
139139
yield from self._format_section_title(title, level=2)
140+
yield "\n"
141+
140142
for pr in sorted(pull_requests, key=lambda pr: pr.merged_at):
141143
yield from self._format_pull_request(pr)
142144
yield "\n"

0 commit comments

Comments
 (0)