Skip to content

Commit

Permalink
Unpin towncrier & update template
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Apr 7, 2022
1 parent 155b584 commit 0f08b84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog.d/towncrier_template.rst
@@ -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] %}

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -54,7 +54,7 @@ profile = "attrs"

[[tool.towncrier.type]]
directory = "breaking"
name = "Backward-incompatible Changes"
name = "Backwards-incompatible Changes"
showcontent = true

[[tool.towncrier.type]]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -100,7 +100,7 @@ commands =

[testenv:changelog]
basepython = python3.8
deps = towncrier<21.3
deps = towncrier
skip_install = true
commands = towncrier --draft

Expand Down

0 comments on commit 0f08b84

Please sign in to comment.