Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/sunpy/package-template",
"commit": "fb26c9794c872939b7e72bc7f30b943628384a8e",
"commit": "4ba8b7c6a6bf4f51f7154978ae8d2f3710ef89e5",
"checkout": null,
"context": {
"cookiecutter": {
Expand All @@ -21,19 +21,20 @@
"use_compiled_extensions": "n",
"enable_dynamic_dev_versions": "y",
"include_example_code": "n",
"include_cruft_update_github_workflow": "y",
"include_cruft_update_github_workflow": "n",
"use_pat_in_cruft_update_workflow": "y",
"use_extended_ruff_linting": "y",
"matrix_room_id": "!TWSJXVpyflnZOzmSQz:matrix.org",
"extra_ci_jobs": "cron",
"_sphinx_theme": "sunpy",
"_parent_project": "",
"_install_requires": "",
"_copy_without_render": [
"docs/_templates",
"docs/_static",
".github/workflows/sub_package_update.yml"
"docs/_static"
],
"_template": "https://github.com/sunpy/package-template",
"_commit": "fb26c9794c872939b7e72bc7f30b943628384a8e"
"_commit": "4ba8b7c6a6bf4f51f7154978ae8d2f3710ef89e5"
}
},
"directory": null
Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ updates:
schedule:
interval: "monthly"
cooldown:
default-days: 7
default-days: 14 # Most updates should be from the package template
groups:
actions:
patterns:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ permissions: {}

jobs:
core:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2 # zizmor: ignore[unpinned-uses]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@8c8bb6c6c962542921f993d47d26df38dccd50b1 # v3.0.2
with:
submodules: false
coverage: codecov
Expand All @@ -37,10 +37,10 @@ jobs:
sdist_verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6 # zizmor: ignore[unpinned-uses]
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@v6 # zizmor: ignore[unpinned-uses]
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: '3.13'
- run: python -m pip install -U --user build
Expand All @@ -50,7 +50,7 @@ jobs:

test:
needs: [core, sdist_verify]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2 # zizmor: ignore[unpinned-uses]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@8c8bb6c6c962542921f993d47d26df38dccd50b1 # v3.0.2
with:
submodules: false
coverage: codecov
Expand All @@ -67,7 +67,7 @@ jobs:

docs:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2 # zizmor: ignore[unpinned-uses]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@8c8bb6c6c962542921f993d47d26df38dccd50b1 # v3.0.2
with:
default_python: '3.13'
submodules: false
Expand All @@ -91,12 +91,12 @@ jobs:
github.event_name == 'pull_request' &&
contains(github.event.pull_request.labels.*.name, 'Run cron CI')
)
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2 # zizmor: ignore[unpinned-uses]
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@8c8bb6c6c962542921f993d47d26df38dccd50b1 # v3.0.2
with:
default_python: '3.13'
submodules: false
coverage: codecov
toxdeps: tox-pypi-filter
coverage: codecov
envs: |
- linux: py314-devdeps
secrets:
Expand All @@ -112,7 +112,7 @@ jobs:
contains(github.event.pull_request.labels.*.name, 'Run publish')
)
needs: [test, docs]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v2 # zizmor: ignore[unpinned-uses]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@8c8bb6c6c962542921f993d47d26df38dccd50b1 # v3.0.2
with:
python-version: '3.13'
test_extras: 'all,tests'
Expand All @@ -132,7 +132,7 @@ jobs:
name: pypi
steps:
- name: Download artifacts
uses: actions/download-artifact@v8 # zizmor: ignore[unpinned-uses]
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
merge-multiple: true
pattern: dist-*
Expand All @@ -141,7 +141,7 @@ jobs:
- run: ls -lha dist/

- name: Run upload
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2

notify:
if: ${{ !cancelled() && (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') }}
Expand All @@ -150,7 +150,7 @@ jobs:
environment:
name: matrix
steps:
- uses: Cadair/matrix-notify-action@main # zizmor: ignore[unpinned-uses]
- uses: Cadair/matrix-notify-action@31c7cc36051ee7dc4157a22c1f13dbc7d68e5120 # v2
with:
workflow_description: 'CI Workflow'
matrix_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
runs-on: ubuntu-latest
name: Label Sync
steps:
- uses: srealmoreno/label-sync-action@850ba5cef2b25e56c6c420c4feed0319294682fd
- uses: srealmoreno/label-sync-action@850ba5cef2b25e56c6c420c4feed0319294682fd # v2.0.0
with:
config-file: https://raw.githubusercontent.com/sunpy/.github/main/labels.yml
165 changes: 0 additions & 165 deletions .github/workflows/sub_package_update.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
repos:
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.26.1
rev: v1.28.0
hooks:
- id: zizmor
# This should be before any formatting hooks like isort
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.20"
rev: "v0.16.1"
hooks:
- id: ruff
- id: ruff-check
args: ["--fix"]
types: [python]
# Define here once and then reference using YAML anchor
exclude: &exclude_dirs ^ndcube/(data|extern)/
- repo: https://github.com/PyCQA/isort
rev: 9.0.0a3
rev: 8.0.1
hooks:
- id: isort
types: [python]
Expand Down Expand Up @@ -45,7 +45,7 @@ repos:
- id: mixed-line-ending
types_or: [python, rst]
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
rev: v2.4.3
hooks:
- id: codespell
args: [ "--write-changes" ]
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pass_env =
# If the user has set a LC override we should follow it
LC_ALL
set_env =
COVERAGE_FILE={toxinidir}/.coverage
MPLBACKEND = agg
COLUMNS = 180
PYTEST_COMMAND = pytest -vvv -r fEs --pyargs ndcube --cov-report=xml --cov=ndcube --cov-config={toxinidir}/.coveragerc {toxinidir}/docs
Expand Down
Loading