From 55d3b32e0b37f4bb72c4c46c0b3b1b562a71f17a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 17:09:26 +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/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/abravalheri/validate-pyproject: v0.23 → v0.24.1](https://github.com/abravalheri/validate-pyproject/compare/v0.23...v0.24.1) - [github.com/pycqa/isort: 6.0.0 → 7.0.0](https://github.com/pycqa/isort/compare/6.0.0...7.0.0) - [github.com/asottile/pyupgrade: v3.19.1 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v3.19.1...v3.21.2) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 25.1.0 → 25.12.0](https://github.com/psf/black-pre-commit-mirror/compare/25.1.0...25.12.0) - [github.com/astral-sh/ruff-pre-commit: v0.9.6 → v0.14.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.6...v0.14.10) - [github.com/PyCQA/flake8: 7.1.2 → 7.3.0](https://github.com/PyCQA/flake8/compare/7.1.2...7.3.0) - [github.com/astral-sh/ruff-pre-commit: v0.9.6 → v0.14.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.6...v0.14.10) - [github.com/sphinx-contrib/sphinx-lint: v1.0.0 → v1.0.2](https://github.com/sphinx-contrib/sphinx-lint/compare/v1.0.0...v1.0.2) - [github.com/regebro/pyroma: 4.2 → 5.0.1](https://github.com/regebro/pyroma/compare/4.2...5.0.1) - [github.com/shellcheck-py/shellcheck-py: v0.10.0.1 → v0.11.0.1](https://github.com/shellcheck-py/shellcheck-py/compare/v0.10.0.1...v0.11.0.1) - [github.com/rbubley/mirrors-prettier: v3.5.1 → v3.7.4](https://github.com/rbubley/mirrors-prettier/compare/v3.5.1...v3.7.4) - [github.com/rhysd/actionlint: v1.7.7 → v1.7.10](https://github.com/rhysd/actionlint/compare/v1.7.7...v1.7.10) - [github.com/python-jsonschema/check-jsonschema: 0.31.1 → 0.36.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.31.1...0.36.0) - [github.com/adrienverge/yamllint: v1.35.1 → v1.37.1](https://github.com/adrienverge/yamllint/compare/v1.35.1...v1.37.1) - [github.com/woodruffw/zizmor-pre-commit: v1.3.1 → v1.19.0](https://github.com/woodruffw/zizmor-pre-commit/compare/v1.3.1...v1.19.0) - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) --- .pre-commit-config.yaml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 43e28b8fe..03710f59c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ default_language_version: python: python3 repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -37,7 +37,7 @@ repos: - id: name-tests-test args: ["--pytest-test-first"] - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.23 + rev: v0.24.1 hooks: - id: validate-pyproject name: Validate pyproject.toml @@ -50,12 +50,12 @@ repos: # We can probably remove `isort` if we come to trust `ruff --fix`, # but we'll need to figure out the configuration to do this in `ruff` - repo: https://github.com/pycqa/isort - rev: 6.0.0 + rev: 7.0.0 hooks: - id: isort # Let's keep `pyupgrade` even though `ruff --fix` probably does most of it - repo: https://github.com/asottile/pyupgrade - rev: v3.19.1 + rev: v3.21.2 hooks: - id: pyupgrade args: [--py310-plus] @@ -64,20 +64,20 @@ repos: hooks: - id: auto-walrus args: [--line-length, "100"] - - repo: https://github.com/psf/black - rev: 25.1.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.12.0 hooks: - id: black - id: black-jupyter - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.6 + rev: v0.14.10 hooks: - id: ruff args: [--fix-only, --show-fixes] # Let's keep `flake8` even though `ruff` does much of the same. # `flake8-bugbear` and `flake8-simplify` have caught things missed by `ruff`. - repo: https://github.com/PyCQA/flake8 - rev: 7.1.2 + rev: 7.3.0 hooks: - id: flake8 args: ["--config=.flake8"] @@ -94,27 +94,27 @@ repos: additional_dependencies: [tomli] files: ^(graphblas|docs)/ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.6 + rev: v0.14.10 hooks: - id: ruff - repo: https://github.com/sphinx-contrib/sphinx-lint - rev: v1.0.0 + rev: v1.0.2 hooks: - id: sphinx-lint args: [--enable, all, "--disable=line-too-long,leaked-markup"] # `pyroma` may help keep our package standards up to date if best practices change. # This is probably a "low value" check though and safe to remove if we want faster pre-commit. - repo: https://github.com/regebro/pyroma - rev: "4.2" + rev: "5.0.1" hooks: - id: pyroma args: [-n, "10", .] - repo: https://github.com/shellcheck-py/shellcheck-py - rev: "v0.10.0.1" + rev: "v0.11.0.1" hooks: - id: shellcheck - repo: https://github.com/rbubley/mirrors-prettier - rev: v3.5.1 + rev: v3.7.4 hooks: - id: prettier - repo: https://github.com/ComPWA/taplo-pre-commit @@ -122,21 +122,21 @@ repos: hooks: - id: taplo-format - repo: https://github.com/rhysd/actionlint - rev: v1.7.7 + rev: v1.7.10 hooks: - id: actionlint - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.31.1 + rev: 0.36.0 hooks: - id: check-dependabot - id: check-github-workflows - id: check-readthedocs - repo: https://github.com/adrienverge/yamllint - rev: v1.35.1 + rev: v1.37.1 hooks: - id: yamllint - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.3.1 + rev: v1.19.0 hooks: - id: zizmor - repo: meta @@ -156,7 +156,7 @@ repos: args: [graphblas/] pass_filenames: false - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: no-commit-to-branch # no commit directly to main #