From 125034cfd4211ca7cc1542f3b4676320a295fe25 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 20:19:29 +0000 Subject: [PATCH 1/2] chore(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.8 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.8...v0.6.9) - [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) --- .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 640e8d69..a185b706 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks exclude: "CHANGELOG.md|.copier-answers.yml" -default_stages: [commit] +default_stages: [Nonepre-commitNone] ci: autofix_commit_msg: "chore(pre-commit.ci): auto fixes" @@ -11,12 +11,12 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: no-commit-to-branch args: ["--branch", "main"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.8 + rev: v0.6.9 hooks: - id: ruff args: @@ -28,7 +28,7 @@ repos: - id: commitizen stages: [commit-msg] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-json - id: check-toml From 5891bcbff146f690c345769a58c158bb56167f63 Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Tue, 8 Oct 2024 09:36:58 +0000 Subject: [PATCH 2/2] chore: fix and cleanup --- .pre-commit-config.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a185b706..b340ae89 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks exclude: "CHANGELOG.md|.copier-answers.yml" -default_stages: [Nonepre-commitNone] +default_stages: [commit] ci: autofix_commit_msg: "chore(pre-commit.ci): auto fixes" @@ -15,6 +15,11 @@ repos: hooks: - id: no-commit-to-branch args: ["--branch", "main"] + - id: check-json + - id: check-toml + - id: check-xml + - id: check-yaml + - id: detect-private-key - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.6.9 hooks: @@ -27,14 +32,6 @@ repos: hooks: - id: commitizen stages: [commit-msg] - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 - hooks: - - id: check-json - - id: check-toml - - id: check-xml - - id: check-yaml - - id: detect-private-key - repo: https://github.com/pre-commit/mirrors-prettier rev: v4.0.0-alpha.8 hooks: