diff --git a/templates/.pre-commit-config.yaml b/templates/.pre-commit-config.yaml index 572246f..f80ce7b 100644 --- a/templates/.pre-commit-config.yaml +++ b/templates/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: # Hook for pre-commit's built-in checks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: # Prevent giant files from being committed. - id: check-added-large-files @@ -56,32 +56,32 @@ repos: # NOTE : keep these in hook-name (aka 'id') order - repo: https://github.com/adamchainz/blacken-docs - rev: 1.16.0 + rev: 1.19.1 hooks: - id: blacken-docs types: [file, rst] - repo: https://github.com/codespell-project/codespell - rev: "v2.2.6" + rev: "v2.3.0" hooks: - id: codespell types_or: [asciidoc, python, markdown, rst] additional_dependencies: [tomli] - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.10.0' + rev: 'v1.13.0' hooks: - id: mypy exclude: 'noxfile\.py|docs/conf\.py' - repo: https://github.com/numpy/numpydoc - rev: v1.7.0 + rev: v1.8.0 hooks: - id: numpydoc-validation types: [file, python] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.4" + rev: "v0.7.4" hooks: - id: ruff types: [file, python] @@ -90,13 +90,13 @@ repos: types: [file, python] - repo: https://github.com/aio-libs/sort-all - rev: v1.2.0 + rev: v1.3.0 hooks: - id: sort-all types: [file, python] - repo: https://github.com/scientific-python/cookie - rev: 2024.04.23 + rev: 2024.08.19 hooks: - id: sp-repo-review additional_dependencies: ["repo-review[cli]"] @@ -104,7 +104,7 @@ repos: - repo: https://github.com/abravalheri/validate-pyproject # More exhaustive than Ruff RUF200. - rev: "v0.18" + rev: "v0.23" hooks: - id: validate-pyproject