diff --git a/.cruft.json b/.cruft.json index 1458b500..6f11b11d 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/sunpy/package-template", - "commit": "17602ec8f8d4a4c5722bca00e255e480683f5096", + "commit": "e4da826808cc9caf3606609c80a98ed441b9da44", "checkout": null, "context": { "cookiecutter": { diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2382fcf8..6b5a8f87 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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"] diff --git a/docs/conf.py b/docs/conf.py index b436bc4a..82f61a0e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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" @@ -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"]