Skip to content

Commit 0cf92cf

Browse files
committed
📝 Add comments to change note categories
1 parent bbe6b4a commit 0cf92cf

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,42 +372,58 @@ directory = "changelog/"
372372
title_format = "pytest {version} ({project_date})"
373373
template = "changelog/_template.rst"
374374

375+
# NOTE: The types are declared because:
376+
# NOTE: - there is no mechanism to override just the value of
377+
# NOTE: `tool.towncrier.type.misc.showcontent`;
378+
# NOTE: - and, we want to declare extra non-default types for
379+
# NOTE: clarity and flexibility.
380+
375381
[[tool.towncrier.type]]
382+
# When something public gets removed in a breaking way. Could be
383+
# deprecated in an earlier release.
376384
directory = "breaking"
377385
name = "Breaking Changes"
378386
showcontent = true
379387

380388
[[tool.towncrier.type]]
389+
# Declarations of future API removals and breaking changes in behavior.
381390
directory = "deprecation"
382391
name = "Deprecations"
383392
showcontent = true
384393

385394
[[tool.towncrier.type]]
395+
# New behaviors, public APIs. That sort of stuff.
386396
directory = "feature"
387397
name = "Features"
388398
showcontent = true
389399

390400
[[tool.towncrier.type]]
401+
# New behaviors in existing features.
391402
directory = "improvement"
392403
name = "Improvements"
393404
showcontent = true
394405

395406
[[tool.towncrier.type]]
407+
# Something we deemed an improper undesired behavior that got corrected
408+
# in the release to match pre-agreed expectations.
396409
directory = "bugfix"
397410
name = "Bug Fixes"
398411
showcontent = true
399412

400413
[[tool.towncrier.type]]
414+
# Updates regarding bundling dependencies.
401415
directory = "vendor"
402416
name = "Vendored Libraries"
403417
showcontent = true
404418

405419
[[tool.towncrier.type]]
420+
# Notable updates to the documentation structure or build process.
406421
directory = "doc"
407422
name = "Improved Documentation"
408423
showcontent = true
409424

410425
[[tool.towncrier.type]]
426+
# Changes that might not even be worth exposing to the end users.
411427
directory = "trivial"
412428
name = "Trivial/Internal Changes"
413429
showcontent = true

0 commit comments

Comments
 (0)