From 12b250f2b5c526535187cd478c43c27acf276dea Mon Sep 17 00:00:00 2001 From: henryiii <4616906+henryiii@users.noreply.github.com> Date: Mon, 18 Mar 2024 06:11:37 +0000 Subject: [PATCH] [create-pull-request] automated change --- .pre-commit-config.yaml | 2 +- docs/pages/guides/gha_wheels.md | 2 +- docs/pages/guides/style.md | 10 +++++----- ...cookiecutter.__type=='compiled' %}cd.yml{% endif %} | 2 +- {{cookiecutter.project_name}}/.pre-commit-config.yaml | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cfcc359b..dce6eb47 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.3.2" + rev: "v0.3.3" hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/docs/pages/guides/gha_wheels.md b/docs/pages/guides/gha_wheels.md index ecf95c65..52409e6d 100644 --- a/docs/pages/guides/gha_wheels.md +++ b/docs/pages/guides/gha_wheels.md @@ -110,7 +110,7 @@ build_wheels: fetch-depth: 0 submodules: true - - uses: pypa/cibuildwheel@v2.16 + - uses: pypa/cibuildwheel@v2.17 - name: Upload wheels uses: actions/upload-artifact@v4 diff --git a/docs/pages/guides/style.md b/docs/pages/guides/style.md index e64359e3..29a32cc5 100644 --- a/docs/pages/guides/style.md +++ b/docs/pages/guides/style.md @@ -111,7 +111,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.3.2" + rev: "v0.3.3" hooks: # id: ruff would go here if using both - id: ruff-format @@ -141,7 +141,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: "24.2.0" + rev: "24.3.0" hooks: - id: black ``` @@ -201,7 +201,7 @@ pre-commit hook. ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.3.2" + rev: "v0.3.3" hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -747,7 +747,7 @@ following pre-commit config: ```yaml - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v18.1.0" + rev: "v18.1.1" hooks: - id: clang-format types_or: [c++, c, cuda] @@ -764,7 +764,7 @@ If you have shell scripts, you can protect against common mistakes using ```yaml - repo: https://github.com/shellcheck-py/shellcheck-py - rev: "v0.9.0.6" + rev: "v0.10.0.1" hooks: - id: shellcheck ``` diff --git a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} index 5124675e..f12abcc0 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} +++ b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} @@ -43,7 +43,7 @@ jobs: with: fetch-depth: 0 - - uses: pypa/cibuildwheel@v2.16 + - uses: pypa/cibuildwheel@v2.17 - name: Upload wheels uses: actions/upload-artifact@v4 diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 2540fb88..4a288261 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.3.2" + rev: "v0.3.3" hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -59,7 +59,7 @@ repos: {%- if cookiecutter.backend in ["pybind11", "skbuild", "mesonpy"] %} - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v18.1.0" + rev: "v18.1.1" hooks: - id: clang-format types_or: [c++, c, cuda] @@ -81,7 +81,7 @@ repos: - id: codespell - repo: https://github.com/shellcheck-py/shellcheck-py - rev: "v0.9.0.6" + rev: "v0.10.0.1" hooks: - id: shellcheck