From d3ff69d25da8684e0ad28c5ac3b0d23008eed84f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:27:06 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.6.5 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.5...v0.6.9) - [github.com/gitleaks/gitleaks: v8.19.2 → v8.20.0](https://github.com/gitleaks/gitleaks/compare/v8.19.2...v8.20.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 500af5b1..c976519c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,10 +1,10 @@ exclude: 'docs|node_modules|migrations|.git|.tox' -default_stages: [commit] +default_stages: [Nonepre-commitNone] fail_fast: true repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -12,7 +12,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.6.5 + rev: v0.6.9 hooks: # Run the linter. - id: ruff @@ -21,7 +21,7 @@ repos: - id: ruff-format - repo: https://github.com/gitleaks/gitleaks - rev: v8.19.2 + rev: v8.20.0 hooks: - id: gitleaks From cfeedbf60853d4882aeddcb5ba485c0517be8022 Mon Sep 17 00:00:00 2001 From: Adrienne Stilp <3944584+amstilp@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:35:05 -0700 Subject: [PATCH 2/2] Fix default_stages incorrect update The default_stages value was incorrectly updated by the pre-commit update bot, which broke pre-commit. Fix it to be "pre-commit" instead of "commit" or "Nonepre-commitNone". --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c976519c..808e8b7b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ exclude: 'docs|node_modules|migrations|.git|.tox' -default_stages: [Nonepre-commitNone] +default_stages: [pre-commit] fail_fast: true repos: