Skip to content

Commit

Permalink
pybamm-team#2885 move towncrier config to pyproject.toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Dec 17, 2023
1 parent 60f145b commit 8037337
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 35 deletions.
32 changes: 32 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -248,3 +248,35 @@ log_date_format = "%Y-%m-%d %H:%M:%S"
[tool.coverage.run]
source = ["pybamm"]
concurrency = ["multiprocessing"]

[tool.towncrier]
# To customise, browse the configuration reference at
# https://towncrier.readthedocs.io/en/stable/configuration.html
package = "pybamm"
directory = "newsfragments"
filename = "CHANGELOG.md"
underlines = ["", "", ""]
all_bullets = true
title_format = "## [{version}](https://github.com/pybamm-team/PyBaMM/tree/v{version}) - {project_date}"
# Customise the issue format to use pull request numbers instead
issue_format = "[#{issue}](https://github.com/pybamm-team/PyBaMM/pull/{issue})"

[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true

[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug fixes"
showcontent = true

[[tool.towncrier.type]]
directory = "optimization"
name = "Optimizations"
showcontent = true

[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking changes"
showcontent = true
35 changes: 0 additions & 35 deletions towncrier.toml

This file was deleted.

0 comments on commit 8037337

Please sign in to comment.