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})" title_format = "pytest-xdist {version} ({project_date})"
template = "changelog/_template.rst" template = "changelog/_template.rst"
[[tool.towncrier.type]] [tool.towncrier.fragment.removal]
directory = "removal" name = "Removals"
name = "Removals"
showcontent = true
[[tool.towncrier.type]] [tool.towncrier.fragment.deprecation]
directory = "deprecation" name = "Deprecations"
name = "Deprecations"
showcontent = true
[[tool.towncrier.type]] [tool.towncrier.fragment.feature]
directory = "feature" name = "Features"
name = "Features"
showcontent = true
[[tool.towncrier.type]] [tool.towncrier.fragment.bugfix]
directory = "bugfix" name = "Bug Fixes"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]] [tool.towncrier.fragment.vendor]
directory = "vendor" name = "Vendored Libraries"
name = "Vendored Libraries"
showcontent = true
[[tool.towncrier.type]] [tool.towncrier.fragment.doc]
directory = "doc" name = "Improved Documentation"
name = "Improved Documentation"
showcontent = true
[[tool.towncrier.type]] [tool.towncrier.fragment.trivial]
directory = "trivial" name = "Trivial Changes"
name = "Trivial Changes"
showcontent = true