From 8a88e2afb08100552ae745f18cf87b1bd351b509 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 22:17:45 +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.6.0](https://github.com/google/keep-sorted/compare/v0.5.0...v0.6.0) - [github.com/pappasam/toml-sort: v0.23.1 → v0.24.2](https://github.com/pappasam/toml-sort/compare/v0.23.1...v0.24.2) - [github.com/astral-sh/ruff-pre-commit: v0.6.8 → v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.8...v0.9.4) - [github.com/aio-libs/sort-all: v1.2.0 → v1.3.0](https://github.com/aio-libs/sort-all/compare/v1.2.0...v1.3.0) - [github.com/psf/black: 24.8.0 → 25.1.0](https://github.com/psf/black/compare/24.8.0...25.1.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.14.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.2...v1.14.1) - [github.com/commitizen-tools/commitizen: v3.29.1 → v4.1.1](https://github.com/commitizen-tools/commitizen/compare/v3.29.1...v4.1.1) --- .pre-commit-config.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 49b37efa..f3f78121 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,19 +32,19 @@ 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.6.0 hooks: - id: keep-sorted - repo: https://github.com/pappasam/toml-sort - rev: v0.23.1 + rev: v0.24.2 hooks: - id: toml-sort-fix # Don't sort certain TOML files: @@ -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.9.4 hooks: - id: ruff args: [--fix] @@ -62,16 +62,16 @@ repos: hooks: - id: pydocstringformatter - repo: https://github.com/aio-libs/sort-all # TODO: style(pre-commit): add sort-all - rev: v1.2.0 + rev: v1.3.0 hooks: - id: sort-all - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 25.1.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.14.1 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: v4.1.1 hooks: - id: commitizen stages: [commit-msg]