From c4d9cb29f1a9326769e05d60060055a9f883a310 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 23:06:28 +0000 Subject: [PATCH] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) - [github.com/astral-sh/ruff-pre-commit: v0.1.7 → v0.3.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.7...v0.3.5) - [github.com/psf/black: 23.3.0 → 24.3.0](https://github.com/psf/black/compare/23.3.0...24.3.0) - [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.1.0...v4.0.0-alpha.8) - [github.com/codespell-project/codespell: v2.2.4 → v2.2.6](https://github.com/codespell-project/codespell/compare/v2.2.4...v2.2.6) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index de881b42..0832ef27 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.5.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.3.5" 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.3.0" 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"