Unpin towncrier & update template

This commit is contained in:
Hynek Schlawack 2022-04-07 07:25:20 +02:00
parent 155b58418c
commit 0f08b84f3f
3 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,7 @@
{{ versiondata.version }} ({{ versiondata.date }})
{{ top_underline * ((versiondata.version + versiondata.date)|length + 3) -}}
{% for section, _ in sections.items() %}
{% set underline = underlines[0] %}{% if section %}{{section}}
{{ underline * section|length }}{% set underline = underlines[1] %}

View File

@ -54,7 +54,7 @@ profile = "attrs"
[[tool.towncrier.type]]
directory = "breaking"
name = "Backward-incompatible Changes"
name = "Backwards-incompatible Changes"
showcontent = true
[[tool.towncrier.type]]

View File

@ -100,7 +100,7 @@ commands =
[testenv:changelog]
basepython = python3.8
deps = towncrier<21.3
deps = towncrier
skip_install = true
commands = towncrier --draft