diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 664ba6bc..cfd5425c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.16.6" + rev: "v0.16.7" hooks: - id: ruff-check args: ["--fix"] @@ -60,7 +60,7 @@ repos: types_or: [yaml, html, css, scss, javascript, json] - repo: https://github.com/rvben/rumdl-pre-commit - rev: "v0.2.67" + rev: "v0.2.73" hooks: - id: rumdl args: [--no-exclude] # Disable all exclude patterns @@ -72,7 +72,7 @@ repos: exclude: ^Gemfile\.lock$ - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: "v1.30.0" + rev: "v1.30.1" hooks: - id: zizmor diff --git a/docs/guides/gha_basic.md b/docs/guides/gha_basic.md index 6f3ce835..0cbb9ffa 100644 --- a/docs/guides/gha_basic.md +++ b/docs/guides/gha_basic.md @@ -122,7 +122,7 @@ tests: allow-prereleases: true - name: Download uv - uses: astral-sh/setup-uv@v10.0.1 + uses: astral-sh/setup-uv@v10.1.0 - name: Test package run: uv run pytest diff --git a/docs/guides/gha_wheels.md b/docs/guides/gha_wheels.md index cadac12f..4ad28209 100644 --- a/docs/guides/gha_wheels.md +++ b/docs/guides/gha_wheels.md @@ -73,7 +73,7 @@ make_sdist: with: fetch-depth: 0 # Optional, use if you use setuptools_scm submodules: true # Optional, use if you have submodules - - uses: astral-sh/setup-uv@v10.0.1 + - uses: astral-sh/setup-uv@v10.1.0 - name: Build SDist run: uv build --sdist @@ -113,7 +113,7 @@ build_wheels: fetch-depth: 0 submodules: true - - uses: astral-sh/setup-uv@v10.0.1 + - uses: astral-sh/setup-uv@v10.1.0 - uses: pypa/cibuildwheel@v4.2 diff --git a/docs/guides/security.md b/docs/guides/security.md index bf9f8401..14e18ea8 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.30.0" + rev: "v1.30.1" hooks: - id: zizmor ``` diff --git a/docs/guides/style.md b/docs/guides/style.md index 3e74ddfe..1986ffd6 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.16.6" + rev: "v0.16.7" hooks: # id: ruff-check would go here if using both - id: ruff-format @@ -216,7 +216,7 @@ your code and your docs. Add `markdown` to the `ruff-format` hook's `types_or`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.16.6" + rev: "v0.16.7" hooks: - id: ruff-format types_or: [python, pyi, jupyter, markdown, pyproject] @@ -256,7 +256,7 @@ pre-commit hook. ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.16.6" + rev: "v0.16.7" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -659,7 +659,7 @@ additional_dependencies: [attrs==23.1.0] :sync: pyrefly ```yaml - repo: https://github.com/facebook/pyrefly-pre-commit - rev: "1.2.0" + rev: "1.3.0" hooks: - id: pyrefly-check ``` @@ -672,7 +672,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.78" + rev: "v0.0.80" hooks: - id: ty ``` @@ -990,7 +990,7 @@ following pre-commit config: ```yaml - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v23.1.0" + rev: "v23.1.1" hooks: - id: clang-format types_or: [c++, c, cuda] diff --git a/docs/guides/tasks.md b/docs/guides/tasks.md index 1cbe3162..a4585a5b 100644 --- a/docs/guides/tasks.md +++ b/docs/guides/tasks.md @@ -309,7 +309,7 @@ You can install `uv` with `pipx`, `brew`, etc. If you want to use uv in GitHub Actions, one way is to use this: ```yaml -- uses: astral-sh/setup-uv@v10.0.1 +- uses: astral-sh/setup-uv@v10.1.0 ``` Check your jobs with `uv`; most things do not need to change. The main diff --git a/{{cookiecutter.project_name}}/.github/workflows/ci.yml b/{{cookiecutter.project_name}}/.github/workflows/ci.yml index e5b704a7..a0e4bf21 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/ci.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: with: python-version: "3.x" - - uses: astral-sh/setup-uv@v10.0.1 + - uses: astral-sh/setup-uv@v10.1.0 - uses: j178/prek-action@v2 @@ -75,7 +75,7 @@ jobs: python-version: {% raw %}${{ matrix.python-version }}{% endraw %} allow-prereleases: true - - uses: astral-sh/setup-uv@v10.0.1 + - uses: astral-sh/setup-uv@v10.1.0 {%- if cookiecutter.backend == "mesonpy" %} 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 cc34391a..d736e5f0 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 %} @@ -62,7 +62,7 @@ jobs: persist-credentials: false fetch-depth: 0 - - uses: astral-sh/setup-uv@v10.0.1 + - uses: astral-sh/setup-uv@v10.1.0 with: # Disable caching to avoid poisoning published wheels enable-cache: false diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index a7c2100f..5ea14e96 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.16.6" + rev: "v0.16.7" hooks: - id: ruff-check args: ["--fix"] @@ -47,7 +47,7 @@ repos: {%- if cookiecutter.backend in ["pybind11", "skbuild", "mesonpy"] %} - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v23.1.0" + rev: "v23.1.1" hooks: - id: clang-format types_or: [c++, c, cuda] @@ -113,7 +113,7 @@ repos: {%- if cookiecutter.__ci == "github" %} - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: "v1.30.0" + rev: "v1.30.1" hooks: - id: zizmor {%- endif %}