Skip to content

Commit

Permalink
Updates from the package template (#235)
Browse files Browse the repository at this point in the history
Co-authored-by: Cadair <[email protected]>
  • Loading branch information
github-actions[bot] and Cadair authored Oct 7, 2024
1 parent 2e0da11 commit 7e62528
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/sunpy/package-template",
"commit": "17602ec8f8d4a4c5722bca00e255e480683f5096",
"commit": "e4da826808cc9caf3606609c80a98ed441b9da44",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
]
exclude: ".*(.fits|.fts|.fit|.txt|tca.*|extern.*|.rst|.md|docs/conf.py)$"
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.6.7"
rev: "v0.6.8"
hooks:
- id: ruff
args: ["--fix"]
Expand Down
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@
version = release = _version.base_version
# Avoid long githashes in rendered Sphinx docs
elif _version.is_devrelease:
version = release = f'{_version.base_version}.dev{_version.dev}'
version = release = f"{_version.base_version}.dev{_version.dev}"
is_development = _version.is_devrelease
is_release = not(_version.is_prerelease or _version.is_devrelease)

project = "sunkit_image"
author = "The SunPy Community"
Expand Down Expand Up @@ -106,7 +107,7 @@
master_doc = "index"

# Treat everything in single ` as a Python reference.
default_role = 'py:obj'
default_role = "py:obj"

html_extra_path = ["robots.txt"]

Expand Down

0 comments on commit 7e62528

Please sign in to comment.