Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion scripts/ci/pre_commit/newsfragments.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@
continue

if change_type != "significant":
if change_type == "feature":
continue
if num_lines != 1:
print(f"Newsfragment {filename} can only have a single line.")
print(f"Newsfragment {filename} can only have a single line for {change_type}.")
failed = True
else:
# significant newsfragment
Expand Down
Loading