Skip to content

Commit 9d24dc0

Browse files
chore(deps): update pre-commit hooks (#1157)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.11 → v0.13.3](astral-sh/ruff-pre-commit@v0.12.11...v0.13.3) - [github.com/adamchainz/blacken-docs: 1.19.1 → 1.20.0](adamchainz/blacken-docs@1.19.1...1.20.0) - [github.com/pre-commit/mirrors-mypy: v1.17.1 → v1.18.2](pre-commit/mirrors-mypy@v1.17.1...v1.18.2) - [github.com/henryiii/validate-pyproject-schema-store: 2025.08.29 → 2025.10.03](henryiii/validate-pyproject-schema-store@2025.08.29...2025.10.03) - [github.com/python-jsonschema/check-jsonschema: 0.33.3 → 0.34.0](python-jsonschema/check-jsonschema@0.33.3...0.34.0) - [github.com/scientific-python/cookie: 2025.05.02 → 2025.10.01](scientific-python/cookie@2025.05.02...2025.10.01) <!--pre-commit.ci end--> --------- Signed-off-by: Henry Schreiner <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <[email protected]>
1 parent 3264909 commit 9d24dc0

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.pre-commit-config.yaml

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

2727
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: v0.12.11
28+
rev: v0.13.3
2929
hooks:
30-
- id: ruff
30+
- id: ruff-check
3131
args: ["--fix", "--show-fixes"]
3232
- id: ruff-format
3333

@@ -39,7 +39,7 @@ repos:
3939
- id: rst-inline-touching-normal
4040

4141
- repo: https://github.com/adamchainz/blacken-docs
42-
rev: 1.19.1
42+
rev: 1.20.0
4343
hooks:
4444
- id: blacken-docs
4545
additional_dependencies: [black==24.*]
@@ -59,7 +59,7 @@ repos:
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.17.1
62+
rev: v1.18.2
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.08.29
134+
rev: 2025.10.03
135135
hooks:
136136
- id: validate-pyproject
137137

138138
- repo: https://github.com/python-jsonschema/check-jsonschema
139-
rev: 0.33.3
139+
rev: 0.34.0
140140
hooks:
141141
- id: check-dependabot
142142
- id: check-github-workflows
@@ -150,6 +150,6 @@ repos:
150150
- id: validate-cff
151151

152152
- repo: https://github.com/scientific-python/cookie
153-
rev: 2025.05.02
153+
rev: 2025.10.01
154154
hooks:
155155
- id: sp-repo-review

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
("py:class", "T"),
108108
("py:class", "scikit_build_core.settings.sources.T"),
109109
("py:class", "scikit_build_core._vendor.pyproject_metadata.StandardMetadata"),
110+
("py:data", "typing.Union"),
110111
]
111112

112113
linkcheck_anchors_ignore = [

tests/test_printouts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010

1111
def test_builder_printout(capsys: pytest.CaptureFixture[str]) -> None:
1212
main()
13-
out, err = capsys.readouterr()
13+
out, _ = capsys.readouterr()
1414
assert "Detected Python Library" in out

0 commit comments

Comments
 (0)