Skip to content

Commit de32111

Browse files
authored
Merge pull request #39 from Cadair/cruft-manual-update
2 parents 50a74fe + 4345edc commit de32111

File tree

6 files changed

+20
-16
lines changed

6 files changed

+20
-16
lines changed

.cruft.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "[email protected]:sunpy/package-template.git",
3-
"commit": "75f84c4adf1753af67967930c3335bc73bca9bf5",
3+
"commit": "3737aa309d2a695ada046c7868c5683213003f3d",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -10,6 +10,12 @@
1010
"author_name": "SunPy Developers",
1111
"author_email": "[email protected]",
1212
"project_url": "https://github.com/sunpy/sunkit-dem",
13+
"github_repo": "",
14+
"sourcecode_url": "",
15+
"download_url": "https://pypi.org/project/sunkit-dem",
16+
"documentation_url": "",
17+
"changelog_url": "",
18+
"issue_tracker_url": "",
1319
"license": "BSD 3-Clause",
1420
"minimum_python_version": "3.10",
1521
"use_compiled_extensions": "n",

.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
# Main CI Workflow
22
name: CI
33

44
on:
@@ -22,7 +22,7 @@ concurrency:
2222

2323
jobs:
2424
core:
25-
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
25+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
2626
with:
2727
submodules: false
2828
coverage: codecov
@@ -46,7 +46,7 @@ jobs:
4646

4747
test:
4848
needs: [core, sdist_verify]
49-
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
49+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
5050
with:
5151
submodules: false
5252
coverage: codecov
@@ -61,7 +61,7 @@ jobs:
6161

6262
docs:
6363
needs: [core]
64-
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
64+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
6565
with:
6666
default_python: '3.12'
6767
submodules: false
@@ -79,7 +79,7 @@ jobs:
7979
github.event_name == 'pull_request' &&
8080
contains(github.event.pull_request.labels.*.name, 'Run cron CI')
8181
)
82-
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
82+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
8383
with:
8484
default_python: '3.12'
8585
submodules: false
@@ -100,7 +100,7 @@ jobs:
100100
contains(github.event.pull_request.labels.*.name, 'Run publish')
101101
)
102102
needs: [test, docs]
103-
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@main
103+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
104104
with:
105105
python-version: '3.12'
106106
test_extras: 'tests'

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
# This should be before any formatting hooks like isort
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: "v0.7.2"
4+
rev: "v0.8.1"
55
hooks:
66
- id: ruff
77
args: ["--fix"]

.ruff.toml

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ extend-ignore = [
2222
"UP038", # Use | in isinstance - not compatible with models and is slower
2323
# pytest (PT)
2424
"PT001", # Always use pytest.fixture()
25-
"PT004", # Fixtures which don't return anything should have leading _
2625
"PT023", # Always use () on pytest decorators
2726
# flake8-pie (PIE)
2827
"PIE808", # Disallow passing 0 as the first argument to range

docs/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This is the documentation for sunkit-dem.
66

77
.. toctree::
88
:maxdepth: 2
9+
:caption: Contents:
910

1011
whatsnew/index
1112
reference/index

pyproject.toml

+5-7
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ tests = [
3333
docs = [
3434
"sphinx",
3535
"sphinx-automodapi",
36+
"sphinx-changelog",
3637
"sunpy-sphinx-theme",
3738
"packaging",
3839
"sphinx_changelog",
3940
]
4041

4142
[project.urls]
42-
repository = "https://github.com/sunpy/sunkit-dem"
43+
Homepage = "https://github.com/sunpy/sunkit-dem"
44+
Download = "https://pypi.org/project/sunkit-dem"
4345

4446
[tool.setuptools]
4547
zip-safe = false
@@ -53,7 +55,6 @@ exclude = ["sunkit_dem._dev*"]
5355
write_to = "sunkit_dem/_version.py"
5456

5557
[tool.gilesbot]
56-
5758
[tool.gilesbot.pull_requests]
5859
enabled = true
5960

@@ -62,11 +63,8 @@ write_to = "sunkit_dem/_version.py"
6263
verify_pr_number = true
6364
changelog_skip_label = "No Changelog Entry Needed"
6465
help_url = "https://github.com/sunpy/sunkit-dem/blob/main/changelog/README.rst"
65-
66-
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/sunkit-dem/blob/main/changelog/README.rst)."
67-
68-
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/sunkit-dem/blob/main/changelog/README.rst)"
69-
66+
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//blob/main/changelog/README.rst)."
67+
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//blob/main/changelog/README.rst)"
7068
number_incorrect_long = "The number in the changelog file you added does not match the number of this pull request. Please rename the file."
7169

7270
# TODO: This should be in towncrier.toml but Giles currently only works looks in

0 commit comments

Comments
 (0)