diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 93a1912b..a7926d02 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.6.0" + rev: "v5.0.0" hooks: - id: check-added-large-files - id: check-case-conflict @@ -29,7 +29,7 @@ repos: additional_dependencies: [black==24.*] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.6.8" + rev: "v0.6.9" hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/docs/pages/guides/coverage.md b/docs/pages/guides/coverage.md index 7a395d7f..b05dc687 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.5.0 + uses: codecov/codecov-action@v4.6.0 with: token: ${{ secrets.CODECOV_TOKEN }} ``` diff --git a/docs/pages/guides/style.md b/docs/pages/guides/style.md index 39f5ebea..b41b980f 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.6.0" + rev: "v5.0.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.6.8" + rev: "v0.6.9" 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.6.8" + rev: "v0.6.9" hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -745,7 +745,7 @@ following pre-commit config: ```yaml - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v19.1.0" + rev: "v19.1.1" hooks: - id: clang-format types_or: [c++, c, cuda] @@ -822,7 +822,7 @@ schemas, and you can load them via URL. It work on JSON, YAML, and TOML. ```yaml - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.29.2" + rev: "0.29.3" hooks: - id: check-dependabot - id: check-github-workflows diff --git a/{{cookiecutter.project_name}}/.github/workflows/ci.yml b/{{cookiecutter.project_name}}/.github/workflows/ci.yml index 3ac3fd14..81636a75 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.5.0 + uses: codecov/codecov-action@v4.6.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 a46e4072..31c46393 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: additional_dependencies: [black==24.*] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.6.0" + rev: "v5.0.0" hooks: - id: check-added-large-files - id: check-case-conflict @@ -42,7 +42,7 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.6.8" + rev: "v0.6.9" hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -61,7 +61,7 @@ repos: {%- if cookiecutter.backend in ["pybind11", "skbuild", "mesonpy"] %} - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v19.1.0" + rev: "v19.1.1" hooks: - id: clang-format types_or: [c++, c, cuda] @@ -120,7 +120,7 @@ repos: additional_dependencies: ["validate-pyproject-schema-store[all]"] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.29.2" + rev: "0.29.3" hooks: {%- if cookiecutter.__ci == "github" %} - id: check-dependabot