From a5a0b0761bcd0bfb7ce34628744378f0c79b93e0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 20:28:14 +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) - 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.8.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.0...v0.8.0) - [github.com/psf/black: 24.8.0 → 24.10.0](https://github.com/psf/black/compare/24.8.0...24.10.0) - https://github.com/PyCQA/bandit/: 1.7.9 → 1.7.10 --- .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 1ea241f..b80186d 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 @@ -34,18 +34,18 @@ repos: rev: 0.6.7 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.8.0' hooks: - id: ruff args: [ --fix, --exit-non-zero-on-fix ] - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 24.10.0 hooks: [ { id: black, args: [ --config=pyproject.toml ] } ] - repo: https://github.com/PyCQA/bandit/ - rev: 1.7.9 + rev: 1.7.10 hooks: - id: bandit args: [ "-c", "pyproject.toml" ]