Skip to content

Commit

Permalink
Merge pull request #765 from sunpy/cruft/update-1728284754
Browse files Browse the repository at this point in the history
Updates from the package template
  • Loading branch information
nabobalis authored Oct 7, 2024
2 parents e438e0f + d5326c3 commit 50d1e4e
Show file tree
Hide file tree
Showing 3 changed files with 6 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
@@ -1,7 +1,7 @@
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"]
Expand Down
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,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 = "ndcube"
author = "The SunPy Community"
Expand Down Expand Up @@ -66,7 +67,8 @@
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
source_suffix = '.rst'
master_doc = 'index'
default_role = 'obj'
# Treat everything in single ` as a Python reference.
default_role = "py:obj"
napoleon_use_rtype = False
napoleon_google_docstring = False
napoleon_use_param = False
Expand Down

0 comments on commit 50d1e4e

Please sign in to comment.