Skip to content

Commit 0f08b84

Browse files
committed
Unpin towncrier & update template
1 parent 155b584 commit 0f08b84

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

changelog.d/towncrier_template.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
{{ versiondata.version }} ({{ versiondata.date }})
2+
{{ top_underline * ((versiondata.version + versiondata.date)|length + 3) -}}
13
{% for section, _ in sections.items() %}
4+
25
{% set underline = underlines[0] %}{% if section %}{{section}}
36
{{ underline * section|length }}{% set underline = underlines[1] %}
47

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ profile = "attrs"
5454

5555
[[tool.towncrier.type]]
5656
directory = "breaking"
57-
name = "Backward-incompatible Changes"
57+
name = "Backwards-incompatible Changes"
5858
showcontent = true
5959

6060
[[tool.towncrier.type]]

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ commands =
100100

101101
[testenv:changelog]
102102
basepython = python3.8
103-
deps = towncrier<21.3
103+
deps = towncrier
104104
skip_install = true
105105
commands = towncrier --draft
106106

0 commit comments

Comments
 (0)