Skip to content

Commit

Permalink
Updates from the package template (#259)
Browse files Browse the repository at this point in the history
Co-authored-by: Cadair <[email protected]>
Co-authored-by: Nabil Freij <[email protected]>
  • Loading branch information
3 people authored Feb 3, 2025
1 parent 1abb0d8 commit 1363e43
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 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": "37ffb52646450caa4de8ea084725dbff65fe0995",
"commit": "29db3569a215e43fa8c5114d3dbcb98b6a9caac0",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down Expand Up @@ -32,7 +32,7 @@
".github/workflows/sub_package_update.yml"
],
"_template": "https://github.com/sunpy/package-template",
"_commit": "37ffb52646450caa4de8ea084725dbff65fe0995"
"_commit": "29db3569a215e43fa8c5114d3dbcb98b6a9caac0"
}
},
"directory": null
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.9.2"
rev: "v0.9.4"
hooks:
- id: ruff
args: ["--fix"]
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
rev: 6.0.0
hooks:
- id: isort
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|extern.*|sunkit_image/extern)$"
Expand All @@ -26,7 +26,7 @@ repos:
- id: mixed-line-ending
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*)$"
- repo: https://github.com/codespell-project/codespell
rev: v2.4.0
rev: v2.4.1
hooks:
- id: codespell
args: [ "--write-changes" ]
Expand Down
1 change: 1 addition & 0 deletions .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ select = [
"RUF",
]
extend-ignore = [
"A005", # Module `trace` shadows a Python standard-library module
# pycodestyle (E, W)
"E501", # ignore line length will use a formatter instead
# pyupgrade (UP)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"setuptools>=62.1",
"setuptools_scm[toml]>=6.2",
"setuptools_scm[toml]>=8.0.0",
"wheel",
]
build-backend = "setuptools.build_meta"
Expand Down Expand Up @@ -85,7 +85,7 @@ exclude = ["sunkit_image._dev*"]
namespaces = false

[tool.setuptools_scm]
write_to = "sunkit_image/_version.py"
version_file = "sunkit_image/_version.py"

[tool.gilesbot]
[tool.gilesbot.pull_requests]
Expand Down

0 comments on commit 1363e43

Please sign in to comment.