Skip to content
Merged
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
4 changes: 2 additions & 2 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.14.8"
rev: "v0.14.10"
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.19.0"
rev: "v1.19.1"
hooks:
- id: mypy
files: "(src|tests|noxfile.py)"
Expand Down
10 changes: 5 additions & 5 deletions docs/pages/guides/gha_pure.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ dist:
- name: Build SDist and wheel
run: pipx run build

- uses: actions/upload-artifact@v5
- uses: actions/upload-artifact@v6
with:
name: Packages
path: dist/*
Expand Down Expand Up @@ -148,7 +148,7 @@ publish:
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
name: Packages
path: dist
Expand Down Expand Up @@ -182,7 +182,7 @@ publish:
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
name: Packages
path: dist
Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published'

steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
name: Packages
path: dist
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published'

steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
name: Packages
path: dist
Expand Down
8 changes: 4 additions & 4 deletions docs/pages/guides/gha_wheels.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ make_sdist:
- name: Build SDist
run: uv build --sdist

- uses: actions/upload-artifact@v5
- uses: actions/upload-artifact@v6
with:
name: cibw-sdist
path: dist/*.tar.gz
Expand Down Expand Up @@ -130,7 +130,7 @@ build_wheels:
- uses: pypa/cibuildwheel@v3.3

- name: Upload wheels
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: cibw-wheels-${{ matrix.os }}
path: wheelhouse/*.whl
Expand Down Expand Up @@ -184,7 +184,7 @@ upload_all:
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
pattern: cibw-*
path: dist
Expand Down Expand Up @@ -219,7 +219,7 @@ upload_all:
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
pattern: cibw-*
path: dist
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 @@ -140,7 +140,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.14.8"
rev: "v0.14.10"
hooks:
# id: ruff-check would go here if using both
- id: ruff-format
Expand Down Expand Up @@ -230,7 +230,7 @@ pre-commit hook.

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

```yaml
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.19.0"
rev: "v1.19.1"
hooks:
- id: mypy
files: src
Expand Down Expand Up @@ -732,7 +732,7 @@ important parts (like Python classifiers) are in sync. This tool,

```yaml
- repo: https://github.com/asottile/setup-cfg-fmt
rev: "v3.1.0"
rev: "v3.2.0"
hooks:
- id: setup-cfg-fmt
args: [--include-version-classifiers, --max-py-version=3.12]
Expand Down Expand Up @@ -831,7 +831,7 @@ following pre-commit config:

```yaml
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v21.1.7"
rev: "v21.1.8"
hooks:
- id: clang-format
types_or: [c++, c, cuda]
Expand Down Expand Up @@ -908,7 +908,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.35.0"
rev: "0.36.0"
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published'

steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
name: Packages
path: dist
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Build SDist
run: pipx run build --sdist

- uses: actions/upload-artifact@v5
- uses: actions/upload-artifact@v6
with:
name: cibw-sdist
path: dist/*.tar.gz
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- uses: pypa/cibuildwheel@v3.3

- name: Upload wheels
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: cibw-wheels-{% raw %}${{ matrix.os }}-${{ strategy.job-index }}{% endraw %}
path: wheelhouse/*.whl
Expand All @@ -75,7 +75,7 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published'

steps:
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v7
with:
pattern: cibw-*
path: dist
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 @@ -43,7 +43,7 @@ repos:
args: [--prose-wrap=always]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.14.8"
rev: "v0.14.10"
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
Expand All @@ -52,15 +52,15 @@ repos:
{%- if cookiecutter.backend in ["pybind11", "skbuild", "mesonpy"] %}

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

{%- endif %}

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.19.0"
rev: "v1.19.1"
hooks:
- id: mypy
files: src|tests|noxfile.py
Expand Down Expand Up @@ -105,7 +105,7 @@ repos:
additional_dependencies: ["validate-pyproject-schema-store[all]"]

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.35.0"
rev: "0.36.0"
hooks:
{%- if cookiecutter.__ci == "github" %}
- id: check-dependabot
Expand Down
Loading