Add breaking change type to newsfragment (#61)

* Add breaking change type to newsfragment

* Move breaking-change -> breaking
This commit is contained in:
kclowes
2022-05-20 14:12:01 -06:00
committed by GitHub
parent c4f23a4326
commit 2e22e2d0b6
3 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,7 @@ Each file should be named like `<ISSUE>.<TYPE>.rst`, where
* `internal`
* `removal`
* `misc`
* `breaking`
So for example: `123.feature.rst`, `456.bugfix.rst`

View File

@ -8,6 +8,7 @@ import pathlib
import sys
ALLOWED_EXTENSIONS = {
'.breaking.rst',
'.bugfix.rst',
'.doc.rst',
'.feature.rst',

View File

@ -41,3 +41,8 @@ showcontent = true
directory = "misc"
name = "Miscellaneous changes"
showcontent = false
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking changes"
showcontent = true