Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ repos:
additional_dependencies: [black==24.*]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.9"
rev: "v0.15.11"
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
Expand All @@ -43,7 +43,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.20.0"
rev: "v1.20.1"
hooks:
- id: mypy
files: "(src|tests|noxfile.py)"
Expand All @@ -60,14 +60,14 @@ repos:
- types-PyYAML

- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.8.1"
rev: "v3.8.3"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
args: [--prose-wrap=always]

- repo: https://github.com/crate-ci/typos
rev: "v1.45.0"
rev: "v1.45.1"
hooks:
- id: typos
exclude: ^Gemfile\.lock$
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/guides/gha_basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ tests:
allow-prereleases: true

- name: Download uv
uses: astral-sh/setup-uv@v8.0.0
uses: astral-sh/setup-uv@v8.1.0

- name: Test package
run: uv run pytest
Expand Down Expand Up @@ -694,7 +694,7 @@ this action later; specifically, may want to use

```yaml
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@v5
```

This actions defaults to uploading `_site`, but you can give any `with: path:`
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/guides/gha_wheels.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,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.0.0
- uses: astral-sh/setup-uv@v8.1.0

- name: Build SDist
run: uv build --sdist
Expand Down Expand Up @@ -125,7 +125,7 @@ build_wheels:
fetch-depth: 0
submodules: true

- uses: astral-sh/setup-uv@v8.0.0
- uses: astral-sh/setup-uv@v8.1.0

- uses: pypa/cibuildwheel@v3.4

Expand Down
12 changes: 6 additions & 6 deletions docs/pages/guides/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,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.9"
rev: "v0.15.11"
hooks:
# id: ruff-check would go here if using both
- id: ruff-format
Expand Down Expand Up @@ -248,7 +248,7 @@ pre-commit hook.

```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.9"
rev: "v0.15.11"
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -639,7 +639,7 @@ The MyPy addition for pre-commit:

```yaml
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.20.0"
rev: "v1.20.1"
hooks:
- id: mypy
files: src
Expand Down Expand Up @@ -804,7 +804,7 @@ integration.

```yaml
- repo: https://github.com/crate-ci/typos
rev: "v1.45.0"
rev: "v1.45.1"
hooks:
- id: typos
args: []
Expand Down Expand Up @@ -884,7 +884,7 @@ following pre-commit config:

```yaml
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v22.1.2"
rev: "v22.1.3"
hooks:
- id: clang-format
types_or: [c++, c, cuda]
Expand Down Expand Up @@ -913,7 +913,7 @@ number of different file types. An example of usage:

```yaml
- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.8.1"
rev: "v3.8.3"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/guides/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ On GitHub Actions or Azure, pipx is available by default, so you should use
action:

```yaml
- uses: wntrblm/nox@2026.02.09
- uses: wntrblm/nox@2026.04.10
```

You can now access all current versions of Python from nox. At least in GitHub
Expand All @@ -84,7 +84,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.02.09
- uses: wntrblm/nox@2026.04.10
with:
python-versions: "3.10, 3.11, 3.12, 3.13, 3.13t, 3.14, 3.14t, pypy-3.11"
```
Expand Down Expand Up @@ -319,7 +319,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.0.0
- uses: astral-sh/setup-uv@v8.1.0
```

Check your jobs with `uv`; most things do not need to change. The main
Expand Down
4 changes: 2 additions & 2 deletions {{cookiecutter.project_name}}/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
python-version: "3.x"

- uses: astral-sh/setup-uv@v8.0.0
- uses: astral-sh/setup-uv@v8.1.0

- uses: j178/prek-action@v2

Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
python-version: {% raw %}${{ matrix.python-version }}{% endraw %}
allow-prereleases: true

- uses: astral-sh/setup-uv@v8.0.0
- uses: astral-sh/setup-uv@v8.1.0

{%- if cookiecutter.backend == "mesonpy" %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
with:
fetch-depth: 0

- uses: astral-sh/setup-uv@v8.0.0
- uses: astral-sh/setup-uv@v8.1.0

- uses: pypa/cibuildwheel@v3.4

Expand Down
8 changes: 4 additions & 4 deletions {{cookiecutter.project_name}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.8.1"
rev: "v3.8.3"
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.9"
rev: "v0.15.11"
hooks:
- id: ruff-check
args: ["--fix"]
Expand All @@ -52,15 +52,15 @@ repos:
{%- if cookiecutter.backend in ["pybind11", "skbuild", "mesonpy"] %}

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v22.1.2"
rev: "v22.1.3"
hooks:
- id: clang-format
types_or: [c++, c, cuda]

{%- endif %}

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.20.0"
rev: "v1.20.1"
hooks:
- id: mypy
files: src|tests|noxfile.py
Expand Down
Loading