From 07355f710fc9884037de734706e3a54acc1b2ba4 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, 26 Jan 2026 06:05:09 +0000 Subject: [PATCH] [create-pull-request] automated change --- .pre-commit-config.yaml | 6 +++--- docs/pages/guides/style.md | 12 ++++++------ .../.pre-commit-config.yaml | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 68808c8a..4dc421a2 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.14.11" + rev: "v0.14.14" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -60,14 +60,14 @@ repos: - types-PyYAML - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.7.4" + rev: "v3.8.1" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] args: [--prose-wrap=always] - repo: https://github.com/crate-ci/typos - rev: "v1.42.0" + rev: "v1.42.1" hooks: - id: typos exclude: ^Gemfile\.lock$ diff --git a/docs/pages/guides/style.md b/docs/pages/guides/style.md index b52e9750..cf6b1bc8 100644 --- a/docs/pages/guides/style.md +++ b/docs/pages/guides/style.md @@ -140,7 +140,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.14.11" + rev: "v0.14.14" hooks: # id: ruff-check would go here if using both - id: ruff-format @@ -170,7 +170,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: "25.12.0" + rev: "26.1.0" hooks: - id: black ``` @@ -230,7 +230,7 @@ pre-commit hook. ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.11" + rev: "v0.14.14" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -786,7 +786,7 @@ integration. ```yaml - repo: https://github.com/crate-ci/typos - rev: "v1.42.0" + rev: "v1.42.1" hooks: - id: typos args: [] @@ -895,7 +895,7 @@ number of different file types. An example of usage: ```yaml - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.7.4" + rev: "v3.8.1" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] @@ -1014,7 +1014,7 @@ You also might like the following hook, which cleans Jupyter outputs: ```yaml - repo: https://github.com/kynan/nbstripout - rev: "0.8.2" + rev: "0.9.0" hooks: - id: nbstripout ``` diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 5116ff28..96618cf6 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -36,14 +36,14 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.7.4" + rev: "v3.8.1" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.11" + rev: "v0.14.14" hooks: - id: ruff-check args: ["--fix", "--show-fixes"]