Skip to content

Commit 4ac2b09

Browse files
author
Sven Siegmund
committed
ready for another PR
1 parent d595547 commit 4ac2b09

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

changelog.d/374.bugfix.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Correct Towncrier's config entries in the :file:`pyproject.toml` file.
2+
The old entries ``[[tool.towncrier.type]]`` are deprecated and need
3+
to be replaced by ``[tool.towncrier.fragment.<TYPE>]``.

changelog.d/374.trivial.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

pyproject.toml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ addopts = """
169169

170170
[tool.black]
171171
line-length = 88
172-
target-version = ['py37', 'py38', 'py39', 'py310']
172+
target-version = ['py36', 'py37', 'py38', 'py39', 'py310']
173173
# diff = true
174174
extend-exclude = """
175175
# A regex preceded with ^/ will apply only to files and directories
@@ -190,29 +190,23 @@ template = "changelog.d/_template.rst"
190190
# issue_format = "`#{issue} <https://github.com/python-attrs/attrs/issues/{issue}>`_"
191191
# issue_format = ":gh:`{issue}`"
192192

193-
# [tool.towncrier.fragment.breaking]
194-
# name = "Breaking Changes"
195-
# showcontent = true
196-
197-
[tool.towncrier.fragment.deprecation]
198-
name = "Deprecations"
199-
200193
[tool.towncrier.fragment.feature]
201-
directory = "feature"
202194
name = "Features"
203195

204-
# [tool.towncrier.fragment.improvement]
205-
# name = "Improvements"
206-
# showcontent = true
196+
[tool.towncrier.fragment.deprecation]
197+
name = "Deprecations"
207198

208199
[tool.towncrier.fragment.bugfix]
209-
name = "Bug Fixes"
200+
name = "Bug fixes"
210201

211202
[tool.towncrier.fragment.doc]
212-
name = "Improved Documentation"
203+
name = "Improved documentation"
213204

214205
[tool.towncrier.fragment.trivial]
215206
name = "Trivial/Internal Changes"
216207

217208
[tool.towncrier.fragment.removal]
218209
name = "Removals"
210+
211+
[tool.towncrier.fragment.breaking]
212+
name = "Breaking Changes"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy