From 0281c0875ff99c27d7bc8d00b427506af797be70 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 21:22:57 +0000 Subject: [PATCH] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/adamchainz/blacken-docs: 1.16.0 → 1.18.0](https://github.com/adamchainz/blacken-docs/compare/1.16.0...1.18.0) - [github.com/asottile/pyupgrade: v3.15.2 → v3.17.0](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.17.0) - [github.com/nbQA-dev/nbQA: 1.8.5 → 1.8.7](https://github.com/nbQA-dev/nbQA/compare/1.8.5...1.8.7) - [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/astral-sh/ruff-pre-commit: v0.4.1 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.6.9) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.11.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.11.2) - [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/abravalheri/validate-pyproject: v0.16 → v0.20.2](https://github.com/abravalheri/validate-pyproject/compare/v0.16...v0.20.2) - [github.com/python-jsonschema/check-jsonschema: 0.28.2 → 0.29.3](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.2...0.29.3) - [github.com/MarcoGorelli/auto-walrus: 0.3.3 → 0.3.4](https://github.com/MarcoGorelli/auto-walrus/compare/0.3.3...0.3.4) - [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.6.9) --- .pre-commit-config.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bc2c60b..7419b36 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/adamchainz/blacken-docs - rev: "1.16.0" + rev: "1.18.0" hooks: - id: blacken-docs additional_dependencies: [black] @@ -17,14 +17,14 @@ repos: args: ["--futures=true"] - repo: https://github.com/asottile/pyupgrade - rev: v3.15.2 + rev: v3.17.0 hooks: - id: pyupgrade args: [--py310-plus] # Notebook formatting - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.5 + rev: 1.8.7 hooks: - id: nbqa-isort additional_dependencies: [isort] @@ -34,7 +34,7 @@ repos: args: [--py310-plus] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.6.0" + rev: "v5.0.0" hooks: - id: check-added-large-files args: ["--maxkb=1000"] @@ -75,14 +75,14 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.1" + rev: "v0.6.9" hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.9.0" + rev: "v1.11.2" hooks: - id: mypy files: src|tests @@ -91,7 +91,7 @@ repos: - pytest - repo: https://github.com/codespell-project/codespell - rev: "v2.2.6" + rev: "v2.3.0" hooks: - id: codespell @@ -109,13 +109,13 @@ repos: exclude: .pre-commit-config.yaml - repo: https://github.com/abravalheri/validate-pyproject - rev: "v0.16" + rev: "v0.20.2" hooks: - id: validate-pyproject additional_dependencies: ["validate-pyproject-schema-store[all]"] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.28.2" + rev: "0.29.3" hooks: - id: check-dependabot - id: check-github-workflows @@ -144,7 +144,7 @@ repos: - id: nbstripout - repo: https://github.com/MarcoGorelli/auto-walrus - rev: 0.3.3 + rev: 0.3.4 hooks: - id: auto-walrus @@ -155,7 +155,7 @@ repos: # - id: oxipng - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.1" + rev: "v0.6.9" hooks: - id: ruff types_or: [python, pyi, jupyter]