diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index de881b42..da62f466 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ default_language_version: repos: - repo: "https://github.com/pre-commit/pre-commit-hooks" - rev: "v4.4.0" + rev: "v4.6.0" hooks: - id: "check-added-large-files" - id: "check-case-conflict" @@ -30,7 +30,7 @@ repos: - id: "trailing-whitespace" - repo: "https://github.com/astral-sh/ruff-pre-commit" - rev: "v0.1.7" + rev: "v0.4.3" hooks: - id: "ruff" # NOTE: "--exit-non-zero-on-fix" is important for CI to function @@ -38,7 +38,7 @@ repos: args: ["--fix", "--exit-non-zero-on-fix"] - repo: "https://github.com/psf/black" - rev: "23.3.0" + rev: "24.4.2" hooks: - id: "black" @@ -47,7 +47,7 @@ repos: # specify the prettier hook twice if we want to format other things and avoid # a messy regex. - repo: "https://github.com/pre-commit/mirrors-prettier" - rev: "v3.1.0" + rev: "v4.0.0-alpha.8" hooks: - id: "prettier" files: "CITATION.cff" @@ -59,7 +59,7 @@ repos: - "--verbose" - repo: "https://github.com/codespell-project/codespell" - rev: "v2.2.4" + rev: "v2.2.6" hooks: - id: "codespell" exclude: ".codespellignore"