Skip to content

Commit 3fbb177

Browse files
committed
Update towncrier config
1 parent b060e07 commit 3fbb177

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

pyproject.toml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -105,27 +105,33 @@ single_file=true
105105
filename="CHANGES.rst"
106106
issue_format="`#{issue} <https://github.com/dbfixtures/pytest-postgresql/issues/{issue}>`__"
107107

108-
[tool.towncrier.fragment.feature]
109-
name = "Features"
108+
[[tool.towncrier.type]]
109+
directory = "break"
110+
name = "Breaking changes"
110111
showcontent = true
111112

112-
[tool.towncrier.fragment.bugfix]
113-
name = "Bugfixes"
113+
[[tool.towncrier.type]]
114+
directory = "depr"
115+
name = "Deprecations"
114116
showcontent = true
115117

116-
[tool.towncrier.fragment.docs]
117-
name = "Documentation"
118+
[[tool.towncrier.type]]
119+
directory = "feature"
120+
name = "Features"
118121
showcontent = true
119122

120-
[tool.towncrier.fragment.deprecate]
121-
name = "Deprecations"
123+
[[tool.towncrier.type]]
124+
directory = "bugfix"
125+
name = "Bugfixes"
122126
showcontent = true
123127

124-
[tool.towncrier.fragment.break]
125-
name = "Breaking changes"
128+
[[tool.towncrier.type]]
129+
directory = "docs"
130+
name = "Documentation"
126131
showcontent = true
127132

128-
[tool.towncrier.fragment.misc]
133+
[[tool.towncrier.type]]
134+
directory = "misc"
129135
name = "Miscellaneus"
130136
showcontent = false
131137

0 commit comments

Comments
 (0)