From 09eea9b3c3d1ecde0d7cf460cb13b8827ec009c7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 20:34:57 +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/psf/black: 24.4.2 → 24.10.0](https://github.com/psf/black/compare/24.4.2...24.10.0) - [github.com/asottile/blacken-docs: 1.16.0 → 1.19.0](https://github.com/asottile/blacken-docs/compare/1.16.0...1.19.0) - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.7.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.7.0) - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](https://github.com/codespell-project/codespell/compare/v2.2.6...v2.3.0) - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.12.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.0...v1.12.1) - [github.com/asottile/pyupgrade: v3.15.2 → v3.18.0](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.18.0) --- .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 a407af34b..9b59f44c6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ ci: skip: - mypy # requires additional dependencies in ci - identity # output is too verbose for ci; pre-commit.ci truncates almost all output after that -default_stages: [commit, push] +default_stages: [pre-commit, pre-push] default_language_version: # force all unspecified python hooks to run python3 python: python3.9 @@ -15,7 +15,7 @@ repos: - id: check-hooks-apply - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-merge-conflict - id: check-toml @@ -55,27 +55,27 @@ repos: exclude: ^python-sdk/mk/|^python-sdk/docs/Makefile|^python-sdk/Makefile$|^python-sdk/tests/benchmark/Makefile$ - repo: https://github.com/psf/black - rev: 24.4.2 + rev: 24.10.0 hooks: - id: black args: ["--config", "./python-sdk/pyproject.toml"] - repo: https://github.com/asottile/blacken-docs - rev: 1.16.0 + rev: 1.19.0 hooks: - id: blacken-docs alias: black additional_dependencies: [black>=22.10.0] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.4.3' + rev: 'v0.7.0' hooks: - id: ruff args: - --config=./ruff.toml - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell name: Run codespell to check for common misspellings in files @@ -83,7 +83,7 @@ repos: types: [text] exclude: ^mk/.*\.mk$|^python-sdk/docs/Makefile|^python-sdk/Makefile$|^python-sdk/tests/modified_constraint_file.txt$|^python-sdk/tests/benchmark/Makefile$ - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.10.0' + rev: 'v1.12.1' hooks: - id: mypy name: mypy-python-sdk @@ -91,7 +91,7 @@ repos: files: "^python-sdk/" - repo: https://github.com/asottile/pyupgrade - rev: v3.15.2 + rev: v3.18.0 hooks: - id: pyupgrade args: [--py37-plus]