From ffef2e8a2559c2e292e4d90f522bc987b331629d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 May 2025 18:31:21 +0000 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/pyupgrade: v3.19.1 → v3.20.0](https://github.com/asottile/pyupgrade/compare/v3.19.1...v3.20.0) - [github.com/asottile/add-trailing-comma: v3.1.0 → v3.2.0](https://github.com/asottile/add-trailing-comma/compare/v3.1.0...v3.2.0) - [github.com/astral-sh/ruff-pre-commit: v0.11.9 → v0.11.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.9...v0.11.11) - [github.com/astral-sh/ruff-pre-commit: v0.11.9 → v0.11.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.9...v0.11.11) - [github.com/gitleaks/gitleaks: v8.25.1 → v8.26.0](https://github.com/gitleaks/gitleaks/compare/v8.25.1...v8.26.0) --- .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 4ca61c58..94e3bffa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,20 +18,20 @@ repos: # 2. Code Upgraders/Modifiers - repo: https://github.com/asottile/pyupgrade - rev: v3.19.1 + rev: v3.20.0 hooks: - id: pyupgrade args: ["--py313-plus"] - repo: https://github.com/asottile/add-trailing-comma - rev: v3.1.0 + rev: v3.2.0 hooks: - id: add-trailing-comma # 3. Main Linter (with auto-fix) - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version should match the one in pyproject.toml - rev: v0.11.9 # Use the same Ruff version tag as formatter + rev: v0.11.11 # Use the same Ruff version tag as formatter hooks: - id: ruff args: [--fix] @@ -39,7 +39,7 @@ repos: # 4. Main Formatter (after linting/fixing) - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version should match the one in pyproject.toml - rev: v0.11.9 + rev: v0.11.11 hooks: - id: ruff-format @@ -53,7 +53,7 @@ repos: # 6. Security Check - repo: https://github.com/gitleaks/gitleaks - rev: v8.25.1 # Use the latest tag from the repo + rev: v8.26.0 # Use the latest tag from the repo hooks: - id: gitleaks