Use modern syntax for towncrier

This commit is contained in:
Bruno Oliveira 2022-10-24 13:15:08 -03:00
parent 31e80c8c6a
commit 794f28bcf4
1 changed files with 14 additions and 28 deletions

View File

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