From 0ddccbe1a048d396ee3f4104d8ac8fc24036f95e Mon Sep 17 00:00:00 2001 From: Cadair <1391051+Cadair@users.noreply.github.com> Date: Mon, 7 Oct 2024 07:03:06 +0000 Subject: [PATCH] Automatic package template update --- .cruft.json | 2 +- .pre-commit-config.yaml | 2 +- docs/conf.py | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.cruft.json b/.cruft.json index d41072b..f146877 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 034b086..6a5797a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ exclude: ".*(.csv|.fits|.fts|.fit|.header|.txt|tca.*|.json|.asdf)$|^CITATION.rst repos: # This should be before any formatting hooks like isort - 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 e2b910a..b2ac778 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,8 +22,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 = "mpl-animators" author = "The SunPy Developers" @@ -65,7 +66,7 @@ master_doc = "index" # Treat everything in single ` as a Python reference. -default_role = 'py:obj' +default_role = "py:obj" # -- Options for intersphinx extension ---------------------------------------