From 181d95917886cd4969759639eee40dd0f60e9871 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, 20 Jul 2026 07:00:22 +0000 Subject: [PATCH] [create-pull-request] automated change --- .pre-commit-config.yaml | 8 ++++---- docs/guides/gha_basic.md | 6 +++--- docs/guides/security.md | 2 +- docs/guides/style.md | 10 +++++----- {{cookiecutter.project_name}}/.github/workflows/ci.yml | 4 ++-- {{cookiecutter.project_name}}/.pre-commit-config.yaml | 8 ++++---- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b53387ab..18314f6c 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.21" + rev: "v0.15.22" hooks: - id: ruff-check args: ["--fix"] @@ -43,7 +43,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v2.2.0" + rev: "v2.3.0" hooks: - id: mypy files: "(src|tests|noxfile.py)" @@ -65,7 +65,7 @@ repos: types_or: [yaml, html, css, scss, javascript, json] - repo: https://github.com/rvben/rumdl-pre-commit - rev: "v0.2.31" + rev: "v0.2.37" hooks: - id: rumdl args: [--no-exclude] # Disable all exclude patterns @@ -77,7 +77,7 @@ repos: exclude: ^Gemfile\.lock$ - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: "v1.26.1" + rev: "v1.27.0" hooks: - id: zizmor diff --git a/docs/guides/gha_basic.md b/docs/guides/gha_basic.md index 70fd7a76..1020b33c 100644 --- a/docs/guides/gha_basic.md +++ b/docs/guides/gha_basic.md @@ -75,7 +75,7 @@ lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - - uses: actions/setup-python@v6 + - uses: actions/setup-python@v7 with: python-version: "3.x" - uses: pre-commit/action@v3.0.1 @@ -116,7 +116,7 @@ tests: fetch-depth: 0 # Only needed if using setuptools-scm - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} allow-prereleases: true @@ -425,7 +425,7 @@ Python version might come as a surprise. You can do that, though, using `update-environment: false` with `setup-python` and `pipx`: ```yaml -- uses: actions/setup-python@v6 +- uses: actions/setup-python@v7 id: python with: python-version: "3.11" diff --git a/docs/guides/security.md b/docs/guides/security.md index c5dd4b50..b5de7bb0 100644 --- a/docs/guides/security.md +++ b/docs/guides/security.md @@ -68,7 +68,7 @@ it as a pre-commit hook or as a GitHub Action: ```yaml - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: "v1.26.1" + rev: "v1.27.0" hooks: - id: zizmor ``` diff --git a/docs/guides/style.md b/docs/guides/style.md index 22483994..8236d808 100644 --- a/docs/guides/style.md +++ b/docs/guides/style.md @@ -148,7 +148,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.21" + rev: "v0.15.22" hooks: # id: ruff-check would go here if using both - id: ruff-format @@ -234,7 +234,7 @@ pre-commit hook. ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.21" + rev: "v0.15.22" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -629,7 +629,7 @@ The pre-commit addition for type checking: :sync: mypy ```yaml - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v2.2.0" + rev: "v2.3.0" hooks: - id: mypy files: src @@ -661,7 +661,7 @@ with `additional_dependencies`, and pass extra flags via `args`. :sync: ty ```yaml - repo: https://github.com/astral-sh/ty-pre-commit - rev: "v0.0.59" + rev: "v0.0.61" hooks: - id: ty ``` @@ -868,7 +868,7 @@ If you want a Python based tool, [codespell] is the classic tool used. ```yaml - repo: https://github.com/codespell-project/codespell - rev: "v2.4.2" + rev: "v2.4.3" hooks: - id: codespell additional_dependencies: diff --git a/{{cookiecutter.project_name}}/.github/workflows/ci.yml b/{{cookiecutter.project_name}}/.github/workflows/ci.yml index 73b49292..fba4e84a 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/ci.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: fetch-depth: 0 {%- endif %} - - uses: actions/setup-python@v6 + - uses: actions/setup-python@v7 with: python-version: "3.x" @@ -70,7 +70,7 @@ jobs: fetch-depth: 0 {%- endif %} - - uses: actions/setup-python@v6 + - uses: actions/setup-python@v7 with: python-version: {% raw %}${{ matrix.python-version }}{% endraw %} allow-prereleases: true diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index d97258f7..39b62e12 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.21" + rev: "v0.15.22" hooks: - id: ruff-check args: ["--fix"] @@ -60,7 +60,7 @@ repos: {%- endif %} - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v2.2.0" + rev: "v2.3.0" hooks: - id: mypy files: src|tests|noxfile.py @@ -70,7 +70,7 @@ repos: - pytest - repo: https://github.com/codespell-project/codespell - rev: "v2.4.2" + rev: "v2.4.3" hooks: - id: codespell additional_dependencies: @@ -118,7 +118,7 @@ repos: {%- if cookiecutter.__ci == "github" %} - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: "v1.26.1" + rev: "v1.27.0" hooks: - id: zizmor {%- endif %}