From 7ab144c0cb140bbc36751e6d8f180963882cf389 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Apr 2026 21:17:34 +0000 Subject: [PATCH] =?UTF-8?q?dev(pre-commit):=E2=AC=86=20pre-commit=20autoup?= =?UTF-8?q?date?= 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 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v6.0.0) - [github.com/asottile/pyupgrade: v3.17.0 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v3.17.0...v3.21.2) - [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.15.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.7...v0.15.11) - [github.com/pycqa/isort: 5.13.2 → 8.0.1](https://github.com/pycqa/isort/compare/5.13.2...8.0.1) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.8.0 → 26.3.1](https://github.com/psf/black-pre-commit-mirror/compare/24.8.0...26.3.1) - [github.com/PyCQA/bandit: 1.7.9 → 1.9.4](https://github.com/PyCQA/bandit/compare/1.7.9...1.9.4) - [github.com/PyCQA/autoflake: v2.3.1 → v2.3.3](https://github.com/PyCQA/autoflake/compare/v2.3.1...v2.3.3) --- .pre-commit-config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a521e4f..8c706c0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: check-added-large-files exclude: ^logo/ @@ -13,19 +13,19 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v3.17.0 + rev: v3.21.2 hooks: - id: pyupgrade args: - --py3-plus - --keep-runtime-typing - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.7 + rev: v0.15.11 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/pycqa/isort - rev: 5.13.2 + rev: 8.0.1 hooks: - id: isort name: isort (python) @@ -35,18 +35,18 @@ repos: - id: isort name: isort (pyi) types: [pyi] -- repo: https://github.com/psf/black - rev: 24.8.0 +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.3.1 hooks: - id: black - repo: https://github.com/PyCQA/bandit - rev: '1.7.9' + rev: '1.9.4' hooks: - id: bandit args: ["-c", "pyproject.toml"] additional_dependencies: ["bandit[toml]"] - repo: https://github.com/PyCQA/autoflake - rev: v2.3.1 + rev: v2.3.3 hooks: - id: autoflake