From 0da0fca733b9dcd6b50dfbec046864e2810de394 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 20:30:18 +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/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/sirosen/texthooks: 0.6.7 → 0.6.8](https://github.com/sirosen/texthooks/compare/0.6.7...0.6.8) - https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit - [github.com/astral-sh/ruff-pre-commit: v0.6.0 → v0.9.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.0...v0.9.1) - https://github.com/PyCQA/bandit/: 1.7.9 → 1.8.2 --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 76dc6f2..c91cc03 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ default_language_version: python: python3 -default_stages: [ commit, push ] +default_stages: [ pre-commit, pre-push ] 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 @@ -31,17 +31,17 @@ repos: args: [ '--baseline', '.secrets.baseline' ] - repo: https://github.com/sirosen/texthooks - rev: 0.6.7 + rev: 0.6.8 hooks: [ { id: fix-smartquotes }, { id: fix-ligatures } ] - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.6.0' + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: 'v0.9.1' hooks: - id: ruff args: [ --fix, --exit-non-zero-on-fix ] - repo: https://github.com/PyCQA/bandit/ - rev: 1.7.9 + rev: 1.8.2 hooks: - id: bandit args: [ "-c", "pyproject.toml" ]