From e4e8f6d04ea5676d5613beb1d33b102a732f9f28 Mon Sep 17 00:00:00 2001 From: henryiii <4616906+henryiii@users.noreply.github.com> Date: Mon, 8 Apr 2024 06:11:44 +0000 Subject: [PATCH] [create-pull-request] automated change --- .pre-commit-config.yaml | 2 +- docs/pages/guides/coverage.md | 2 +- docs/pages/guides/style.md | 8 ++++---- {{cookiecutter.project_name}}/.github/workflows/ci.yml | 2 +- {{cookiecutter.project_name}}/.pre-commit-config.yaml | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index efc2ced2..c7d318af 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ exclude: "^({{cookiecutter\\.project_name}}|hooks/pre_gen_project.py$)" repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.5.0" + rev: "v4.6.0" hooks: - id: check-added-large-files - id: check-case-conflict diff --git a/docs/pages/guides/coverage.md b/docs/pages/guides/coverage.md index 5e4896d6..38cc8235 100644 --- a/docs/pages/guides/coverage.md +++ b/docs/pages/guides/coverage.md @@ -91,7 +91,7 @@ enough for a simple testing suite, can be written as follows: ```yaml - name: Upload coverage report - uses: codecov/codecov-action@v4.1.1 + uses: codecov/codecov-action@v4.2.0 with: token: ${{ secrets.CODECOV_TOKEN }} ``` diff --git a/docs/pages/guides/style.md b/docs/pages/guides/style.md index a60b58f3..d1532311 100644 --- a/docs/pages/guides/style.md +++ b/docs/pages/guides/style.md @@ -31,7 +31,7 @@ options: ```yaml repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.5.0" + rev: "v4.6.0" hooks: - id: check-added-large-files - id: check-case-conflict @@ -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.4" + rev: "v0.3.5" hooks: # id: ruff would go here if using both - id: ruff-format @@ -201,7 +201,7 @@ pre-commit hook. ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.3.4" + rev: "v0.3.5" 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.2" + rev: "v18.1.3" hooks: - id: clang-format types_or: [c++, c, cuda] diff --git a/{{cookiecutter.project_name}}/.github/workflows/ci.yml b/{{cookiecutter.project_name}}/.github/workflows/ci.yml index 2c7153ba..14286bd1 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/ci.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/ci.yml @@ -74,6 +74,6 @@ jobs: --durations=20 - name: Upload coverage report - uses: codecov/codecov-action@v4.1.1 + uses: codecov/codecov-action@v4.2.0 with: token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %} diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 353a74a5..3ec1170d 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: additional_dependencies: [black==24.*] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.5.0" + rev: "v4.6.0" hooks: - id: check-added-large-files - id: check-case-conflict @@ -40,7 +40,7 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.3.4" + rev: "v0.3.5" 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.2" + rev: "v18.1.3" hooks: - id: clang-format types_or: [c++, c, cuda]