Skip to content

Commit

Permalink
Update cruft with batchpr
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Dec 9, 2024
1 parent b911ad0 commit 1d72f67
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .cruft.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"author_name": "The SunPy Community",
"author_email": "[email protected]",
"project_url": "https://docs.sunpy.org/projects/ndcube",
"github_repo": "",
"github_repo": "sunpy/ndcube",
"sourcecode_url": "",
"download_url": "https://pypi.org/project/ndcube",
"documentation_url": "",
"changelog_url": "",
"documentation_url": "https://docs.sunpy.org/projects/ndcube",
"changelog_url": "https://docs.sunpy.org/projects/ndcube/en/stable/whatsnew/changelog.html",
"issue_tracker_url": "",
"license": "BSD 2-Clause",
"minimum_python_version": "3.10",
Expand Down
17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ dev = [
[project.urls]
Homepage = "https://docs.sunpy.org/projects/ndcube"
Download = "https://pypi.org/project/ndcube"
Documentation = "https://docs.sunpy.org/projects/ndcube"
Changelog = "https://docs.sunpy.org/projects/ndcube/en/stable/whatsnew/changelog.html"

[tool.setuptools]
zip-safe = false
Expand Down Expand Up @@ -102,6 +104,17 @@ write_to = "ndcube/_version.py"
enabled = true
verify_pr_number = true
changelog_skip_label = "No Changelog Entry Needed"
<<<<<<<
=======
help_url = "https://github.com/sunpy/ndcube/blob/main/changelog/README.rst"

changelog_missing_long = "There isn't a changelog file in this pull request. Please add a changelog file to the `changelog/` directory following the instructions in the changelog [README](https://github.com/sunpy/ndcube/blob/main/changelog/README.rst)."

type_incorrect_long = "The changelog file you added is not one of the allowed types. Please use one of the types described in the changelog [README](https://github.com/sunpy/ndcube/blob/main/changelog/README.rst)"

number_incorrect_long = "The number in the changelog file you added does not match the number of this pull request. Please rename the file."

>>>>>>>
help_url = "https://github.com/sunpy/sunpy/blob/main/changelog/README.rst"
changelog_missing_long = "There isn't a changelog file in this pull request. Please add a changelog file to the `changelog/` directory following the instructions in the changelog [README](https://github.com/sunpy/sunpy/blob/main/changelog/README.rst)."
type_incorrect_long = "The changelog file you added is not one of the allowed types. Please use one of the types described in the changelog [README](https://github.com/sunpy/ndcube/blob/main/changelog/README.rst)"
Expand All @@ -113,7 +126,11 @@ write_to = "ndcube/_version.py"
package = "ndcube"
filename = "CHANGELOG.rst"
directory = "changelog/"
<<<<<<<
issue_format = "`#{issue} <https://github.com/sunpy/ndcube/pull/{issue}>`__"
=======
issue_format = "`#{issue} https:github.com/sunpy/ndcube/changelog/pull/{issue}>`__"
>>>>>>>
title_format = "{version} ({project_date})"

[[tool.towncrier.type]]
Expand Down

0 comments on commit 1d72f67

Please sign in to comment.