diff --git a/.cruft.json b/.cruft.json index 363b0d4..9d9896c 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/sunpy/package-template", - "commit": "37ffb52646450caa4de8ea084725dbff65fe0995", + "commit": "29db3569a215e43fa8c5114d3dbcb98b6a9caac0", "checkout": null, "context": { "cookiecutter": { @@ -32,7 +32,7 @@ ".github/workflows/sub_package_update.yml" ], "_template": "https://github.com/sunpy/package-template", - "_commit": "37ffb52646450caa4de8ea084725dbff65fe0995" + "_commit": "29db3569a215e43fa8c5114d3dbcb98b6a9caac0" } }, "directory": null diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8e8c80e..5ba9bc2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,12 +1,12 @@ repos: # This should be before any formatting hooks like isort - 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.*|{{ cookiecutter.module_name }}/extern)$" @@ -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" ] diff --git a/pyproject.toml b/pyproject.toml index 68f95d3..1612160 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" @@ -61,7 +61,7 @@ include = ["sunraster*"] exclude = ["sunraster._dev*"] [tool.setuptools_scm] -write_to = "sunraster/_version.py" +version_file = "sunraster/_version.py" [tool.gilesbot] [tool.gilesbot.pull_requests]