Skip to content

Commit 7309d2f

Browse files
chore(deps): update pre-commit hooks (scikit-build#1113)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.12 → v0.12.2](astral-sh/ruff-pre-commit@v0.11.12...v0.12.2) - [github.com/rbubley/mirrors-prettier: v3.5.3 → v3.6.2](rbubley/mirrors-prettier@v3.5.3...v3.6.2) - [github.com/pre-commit/mirrors-mypy: v1.16.0 → v1.16.1](pre-commit/mirrors-mypy@v1.16.0...v1.16.1) - [github.com/henryiii/validate-pyproject-schema-store: 2025.05.12 → 2025.06.23](henryiii/validate-pyproject-schema-store@2025.05.12...2025.06.23) - [github.com/python-jsonschema/check-jsonschema: 0.33.0 → 0.33.2](python-jsonschema/check-jsonschema@0.33.0...0.33.2) <!--pre-commit.ci end--> --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 983068d commit 7309d2f

File tree

10 files changed

+14
-22
lines changed

10 files changed

+14
-22
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
cmake-version: ["3.15.x"]
5858

5959
include:
60-
- python-version: "pypy-3.8"
60+
- python-version: "pypy-3.9"
6161
runs-on: windows-2022
6262
cmake-version: "3.21.x"
6363
- python-version: "3.11"
@@ -85,7 +85,7 @@ jobs:
8585
runs-on: ubuntu-latest
8686
cmake-version: "3.26.x"
8787
- python-version: "3.8"
88-
runs-on: windows-2019
88+
runs-on: windows-2022
8989
cmake-version: "3.24.x"
9090
- python-version: "3.12"
9191
runs-on: windows-latest
@@ -121,21 +121,13 @@ jobs:
121121
${{ matrix.python-version == '3.13' && runner.os == 'Windows' }}
122122
123123
- uses: astral-sh/setup-uv@v6
124-
if: matrix.python-version != 'pypy-3.8'
125124

126125
- name: Install package (uv)
127-
if: matrix.python-version != 'pypy-3.8'
128126
run:
129127
uv pip install
130128
-e.[test,test-meta,test-numpy,test-schema,test-hatchling,wheels,cov,wheel-free-setuptools]
131129
--system
132130

133-
- name: Install package (pip)
134-
if: matrix.python-version == 'pypy-3.8'
135-
run:
136-
pip install
137-
-e.[test,test-meta,test-numpy,test-schema,wheels,cov,wheel-free-setuptools]
138-
139131
- name: Test package
140132
if: "!contains(matrix.python_version, 'pypy')"
141133
run: >-

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
exclude: "^tests"
2626

2727
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: v0.11.12
28+
rev: v0.12.2
2929
hooks:
3030
- id: ruff
3131
args: ["--fix", "--show-fixes"]
@@ -51,15 +51,15 @@ repos:
5151
exclude: ^src/scikit_build_core/resources/find_python
5252

5353
- repo: https://github.com/rbubley/mirrors-prettier
54-
rev: "v3.5.3"
54+
rev: "v3.6.2"
5555
hooks:
5656
- id: prettier
5757
types_or: [yaml, markdown, html, css, scss, javascript, json]
5858
args: [--prose-wrap=always]
5959
exclude: "^tests|src/scikit_build_core/resources/scikit-build.schema.json|^docs/projects.md"
6060

6161
- repo: https://github.com/pre-commit/mirrors-mypy
62-
rev: v1.16.0
62+
rev: v1.16.1
6363
hooks:
6464
- id: mypy
6565
exclude: |
@@ -131,12 +131,12 @@ repos:
131131
additional_dependencies: ["cogapp>=3.5"]
132132

133133
- repo: https://github.com/henryiii/validate-pyproject-schema-store
134-
rev: 2025.05.12
134+
rev: 2025.06.23
135135
hooks:
136136
- id: validate-pyproject
137137

138138
- repo: https://github.com/python-jsonschema/check-jsonschema
139-
rev: 0.33.0
139+
rev: 0.33.2
140140
hooks:
141141
- id: check-dependabot
142142
- id: check-github-workflows

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ known-local-folder = ["pathutils"]
323323
"noxfile.py" = ["T20", "TID251"]
324324
"src/scikit_build_core/resources/*.py" = ["PTH", "ARG002", "FBT", "TID251"]
325325
"src/scikit_build_core/_compat/**.py" = ["TID251"]
326+
"src/scikit_build_core/settings/**.py" = ["FBT001"]
326327
"tests/conftest.py" = ["TID251"]
327328
"tests/packages/**.py" = ["TID251"]
328329
"docs/conf.py" = ["TID251"]

tests/packages/importlib_editable/pkg/pmod_a.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ruff: noqa: I001, F401
1+
# ruff: noqa: F401
22
# mypy: ignore-errors
33

44
# Level one import sibling

tests/packages/importlib_editable/pkg/sub_a/pmod_b.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ruff: noqa: I001, F401
1+
# ruff: noqa: F401
22
# mypy: ignore-errors
33

44
# Level two import sibling

tests/packages/importlib_editable/pkg/sub_b/pmod_c.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ruff: noqa: I001, F401
1+
# ruff: noqa: F401
22
# mypy: ignore-errors
33

44
# Level two import sibling

tests/packages/importlib_editable/pkg/sub_b/sub_c/pmod_d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ruff: noqa: I001, F401
1+
# ruff: noqa: F401
22
# mypy: ignore-errors
33

44
# Level three import sibling

tests/packages/importlib_editable/pkg/sub_b/sub_d/pmod_e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ruff: noqa: I001, F401
1+
# ruff: noqa: F401
22
# mypy: ignore-errors
33

44
# Level three import sibling

tests/packages/importlib_editable/pmod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ruff: noqa: I001, F401
1+
# ruff: noqa: F401
22
# mypy: ignore-errors
33

44
# Level zero import global sibling

tests/test_skbuild_settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Comparison with empty strings okay for symmetry
2-
# ruff: noqa: PLC1901
32

43
from __future__ import annotations
54

0 commit comments

Comments
 (0)