From 5d0f2bc9f6aedd2469bfbdaf627b4b998b2a33dd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 21:54:08 +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/google/keep-sorted: v0.5.0 → v0.5.1](https://github.com/google/keep-sorted/compare/v0.5.0...v0.5.1) - [github.com/astral-sh/ruff-pre-commit: v0.6.8 → v0.7.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.8...v0.7.1) - [github.com/psf/black: 24.8.0 → 24.10.0](https://github.com/psf/black/compare/24.8.0...24.10.0) - [github.com/asottile/blacken-docs: 1.18.0 → 1.19.1](https://github.com/asottile/blacken-docs/compare/1.18.0...1.19.1) - [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.13.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.2...v1.13.0) - [github.com/commitizen-tools/commitizen: v3.29.1 → v3.30.0](https://github.com/commitizen-tools/commitizen/compare/v3.29.1...v3.30.0) --- .pre-commit-config.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 49b37efa..20fcd4da 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: language: system always_run: true pass_filenames: false - stages: [commit] + stages: [pre-commit] - id: autofix-docs name: Autofix ReST documentation from docstrings and TOML entry: poetry run python3 docs/autofix_docs.py @@ -32,15 +32,15 @@ repos: always_run: true pass_filenames: false types: [python, toml] - stages: [commit] + stages: [pre-commit] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: debug-statements - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/google/keep-sorted - rev: v0.5.0 + rev: v0.5.1 hooks: - id: keep-sorted - repo: https://github.com/pappasam/toml-sort @@ -52,7 +52,7 @@ repos: # - poetry.lock: auto-generated file exclude: (ideas/|resources/|tests/|poetry.lock) - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.8 + rev: v0.7.1 hooks: - id: ruff args: [--fix] @@ -66,12 +66,12 @@ repos: hooks: - id: sort-all - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 24.10.0 hooks: - id: black args: [--safe, --quiet] - repo: https://github.com/asottile/blacken-docs - rev: 1.18.0 + rev: 1.19.1 hooks: - id: blacken-docs additional_dependencies: [black==23.7.0] @@ -84,9 +84,9 @@ repos: rev: v4.0.0-alpha.8 hooks: - id: prettier - stages: [commit] + stages: [pre-commit] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.13.0 hooks: - id: mypy # https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-show-error-codes @@ -131,7 +131,7 @@ repos: # https://docs.openstack.org/bashate/latest/man/bashate.html#options args: [-i, E006] - repo: https://github.com/commitizen-tools/commitizen - rev: v3.29.1 + rev: v3.30.0 hooks: - id: commitizen stages: [commit-msg]