diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9127f15d..b53387ab 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.20" + rev: "v0.15.21" 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.1.0" + rev: "v2.2.0" hooks: - id: mypy files: "(src|tests|noxfile.py)" @@ -59,13 +59,13 @@ repos: - types-PyYAML - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.9.4" + rev: "v3.9.5" hooks: - id: prettier types_or: [yaml, html, css, scss, javascript, json] - repo: https://github.com/rvben/rumdl-pre-commit - rev: "v0.2.28" + rev: "v0.2.31" hooks: - id: rumdl args: [--no-exclude] # Disable all exclude patterns diff --git a/docs/guides/gha_basic.md b/docs/guides/gha_basic.md index 30bcda35..70fd7a76 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@v8.3.0 + uses: astral-sh/setup-uv@v8.3.2 - name: Test package run: uv run pytest diff --git a/docs/guides/gha_wheels.md b/docs/guides/gha_wheels.md index a09d03dc..c20319d5 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@v8.3.0 + - uses: astral-sh/setup-uv@v8.3.2 - name: Build SDist run: uv build --sdist @@ -113,7 +113,7 @@ build_wheels: fetch-depth: 0 submodules: true - - uses: astral-sh/setup-uv@v8.3.0 + - uses: astral-sh/setup-uv@v8.3.2 - uses: pypa/cibuildwheel@v4.1 diff --git a/docs/guides/style.md b/docs/guides/style.md index 59398e75..e6ea3381 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.20" + rev: "v0.15.21" 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.20" + rev: "v0.15.21" 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.1.0" + rev: "v2.2.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.56" + rev: "v0.0.59" hooks: - id: ty ``` @@ -979,7 +979,7 @@ following pre-commit config: ```yaml - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v22.1.5" + rev: "v22.1.8" hooks: - id: clang-format types_or: [c++, c, cuda] @@ -1008,7 +1008,7 @@ number of different file types. An example of usage: ```yaml - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.9.4" + rev: "v3.9.5" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] diff --git a/docs/guides/tasks.md b/docs/guides/tasks.md index e8882d2b..c91a195c 100644 --- a/docs/guides/tasks.md +++ b/docs/guides/tasks.md @@ -65,7 +65,7 @@ On GitHub Actions or Azure, pipx is available by default, so you should use action: ```yaml -- uses: wntrblm/nox@2026.04.10 +- uses: wntrblm/nox@2026.07.11 ``` You can now access all current versions of Python from nox. At least in GitHub @@ -74,7 +74,7 @@ your logs, or set `env: FORCE_COLOR: 3`[^force_color]. If you'd like to customize the versions of Python prepared for you, then use input like this: ```yaml -- uses: wntrblm/nox@2026.04.10 +- uses: wntrblm/nox@2026.07.11 with: python-versions: "3.10, 3.11, 3.12, 3.13, 3.13t, 3.14, 3.14t, pypy-3.11" ``` @@ -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@v8.3.0 +- uses: astral-sh/setup-uv@v8.3.2 ``` 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 61f77f27..73b49292 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@v8.3.0 + - uses: astral-sh/setup-uv@v8.3.2 - 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@v8.3.0 + - uses: astral-sh/setup-uv@v8.3.2 {%- 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 0fa4719f..7c3cb9a3 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@v8.3.0 + - uses: astral-sh/setup-uv@v8.3.2 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 bbef9ff0..d97258f7 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -36,14 +36,14 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.9.4" + rev: "v3.9.5" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.20" + rev: "v0.15.21" hooks: - id: ruff-check args: ["--fix"] @@ -52,7 +52,7 @@ repos: {%- if cookiecutter.backend in ["pybind11", "skbuild", "mesonpy"] %} - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v22.1.5" + rev: "v22.1.8" hooks: - id: clang-format types_or: [c++, c, cuda] @@ -60,7 +60,7 @@ repos: {%- endif %} - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v2.1.0" + rev: "v2.2.0" hooks: - id: mypy files: src|tests|noxfile.py