We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ff4077 commit 1ab306bCopy full SHA for 1ab306b
1 file changed
doc/ReleaseNotes/mk_releasenotes.py
@@ -48,7 +48,11 @@
48
f"{fragment.name}: invalid section '{item['section']}'"
49
f", expected one of: {list(sections)}"
50
)
51
- if "subsection" in item and item["subsection"] and item["subsection"] not in subsections:
+ if (
52
+ "subsection" in item
53
+ and item["subsection"]
54
+ and item["subsection"] not in subsections
55
+ ):
56
errors.append(
57
f"{fragment.name}: invalid subsection '{item['subsection']}'"
58
f", expected one of: {list(subsections)}"
0 commit comments