From 97d8cd809224b74f82ba7113523ee7b541d35e7a Mon Sep 17 00:00:00 2001 From: "scientific-python-pr-tokenbot[bot]" <181030687+scientific-python-pr-tokenbot[bot]@users.noreply.github.com> Date: Mon, 18 May 2026 07:17:27 +0000 Subject: [PATCH] [create-pull-request] automated change --- .pre-commit-config.yaml | 6 +++--- docs/pages/guides/style.md | 12 ++++++------ .../.pre-commit-config.yaml | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d32d8d6a..f4bc1935 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: additional_dependencies: [black==24.*] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.12" + rev: "v0.15.13" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -43,7 +43,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.20.2" + rev: "v2.1.0" hooks: - id: mypy files: "(src|tests|noxfile.py)" @@ -67,7 +67,7 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/crate-ci/typos - rev: "v1.46.0" + rev: "v1.46.2" hooks: - id: typos exclude: ^Gemfile\.lock$ diff --git a/docs/pages/guides/style.md b/docs/pages/guides/style.md index 069be561..97beb53c 100644 --- a/docs/pages/guides/style.md +++ b/docs/pages/guides/style.md @@ -158,7 +158,7 @@ Here is the snippet to add the formatter to your `.pre-commit-config.yml` ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.12" + rev: "v0.15.13" hooks: # id: ruff-check would go here if using both - id: ruff-format @@ -188,7 +188,7 @@ Here is the snippet to add Black to your `.pre-commit-config.yml`: ```yaml - repo: https://github.com/psf/black-pre-commit-mirror - rev: "26.3.1" + rev: "26.5.0" hooks: - id: black ``` @@ -248,7 +248,7 @@ pre-commit hook. ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.12" + rev: "v0.15.13" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -639,7 +639,7 @@ The MyPy addition for pre-commit: ```yaml - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.20.2" + rev: "v2.1.0" hooks: - id: mypy files: src @@ -804,7 +804,7 @@ integration. ```yaml - repo: https://github.com/crate-ci/typos - rev: "v1.46.0" + rev: "v1.46.2" hooks: - id: typos args: [] @@ -884,7 +884,7 @@ following pre-commit config: ```yaml - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v22.1.4" + rev: "v22.1.5" hooks: - id: clang-format types_or: [c++, c, cuda] diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index c0558309..5733aafe 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -43,7 +43,7 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.12" + rev: "v0.15.13" hooks: - id: ruff-check args: ["--fix"] @@ -52,7 +52,7 @@ repos: {%- if cookiecutter.backend in ["pybind11", "skbuild", "mesonpy"] %} - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v22.1.4" + rev: "v22.1.5" hooks: - id: clang-format types_or: [c++, c, cuda] @@ -60,7 +60,7 @@ repos: {%- endif %} - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.20.2" + rev: "v2.1.0" hooks: - id: mypy files: src|tests|noxfile.py