Use modern syntax for towncrier

This commit is contained in:
Bruno Oliveira
2022-10-24 13:15:08 -03:00
parent 31e80c8c6a
commit 794f28bcf4

View File

@@ -17,37 +17,23 @@ directory = "changelog/"
title_format = "pytest-xdist {version} ({project_date})"
template = "changelog/_template.rst"
[[tool.towncrier.type]]
directory = "removal"
[tool.towncrier.fragment.removal]
name = "Removals"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecation"
[tool.towncrier.fragment.deprecation]
name = "Deprecations"
showcontent = true
[[tool.towncrier.type]]
directory = "feature"
[tool.towncrier.fragment.feature]
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
[tool.towncrier.fragment.bugfix]
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "vendor"
[tool.towncrier.fragment.vendor]
name = "Vendored Libraries"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
[tool.towncrier.fragment.doc]
name = "Improved Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "trivial"
[tool.towncrier.fragment.trivial]
name = "Trivial Changes"
showcontent = true