Skip to content

Commit d68f5e3

Browse files
chore(deps): update pre-commit hooks (#1097)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.11 → v0.11.12](astral-sh/ruff-pre-commit@v0.11.11...v0.11.12) - [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.16.0](pre-commit/mirrors-mypy@v1.15.0...v1.16.0) <!--pre-commit.ci end--> --------- 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 87af379 commit d68f5e3

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 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.11
28+
rev: v0.11.12
2929
hooks:
3030
- id: ruff
3131
args: ["--fix", "--show-fixes"]
@@ -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.15.0
62+
rev: v1.16.0
6363
hooks:
6464
- id: mypy
6565
exclude: |
@@ -128,7 +128,7 @@ repos:
128128
args: [docs/about/projects.md]
129129
pass_filenames: false
130130
language: python
131-
additional_dependencies: [cogapp]
131+
additional_dependencies: ["cogapp>=3.5"]
132132

133133
- repo: https://github.com/henryiii/validate-pyproject-schema-store
134134
rev: 2025.05.12

docs/about/projects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ for project in projects["project"]:
7070
* [kiss-icp](https://pypi.org/project/kiss-icp) ([source](https://github.com/PRBonn/kiss-icp/blob/HEAD/python/pyproject.toml))
7171
* [simsopt](https://pypi.org/project/simsopt) ([source](https://github.com/hiddenSymmetries/simsopt/blob/HEAD/pyproject.toml))
7272
* [mqt-core](https://pypi.org/project/mqt-core) ([source](https://github.com/munich-quantum-toolkit/core/blob/HEAD/pyproject.toml))
73-
<!--[[[end]]] (checksum: a798ae9bb220ab16cfe9402431cde0cf)-->
73+
<!--[[[end]]] (sum: p5ium7Igqx)-->
7474

7575
<!-- prettier-ignore-end -->
7676

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ run.omit = ["src/scikit_build_core/_vendor"]
226226
run.disable_warnings = [
227227
"module-not-measured", # Triggers in multithreaded context on build
228228
"no-sysmon",
229+
"couldnt-parse", # site-customize is unparsable on latest GHA windows versions
229230
]
230231
report.exclude_also = [
231232
'\.\.\.',

src/scikit_build_core/settings/documentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def get_display_type(field_type: type | str) -> str:
8585
if get_origin(field_type) is Annotated:
8686
# For annotated assume we always want the second item
8787
return get_display_type(get_args(field_type)[1])
88-
if field_type is typing.Any: # type: ignore[comparison-overlap]
88+
if field_type is typing.Any:
8989
# Workaround for python<3.10 where typing.Any.__name__ does not evaluate
9090
return "Any"
9191
# Otherwise just get the formatted form of the `type` object

0 commit comments

Comments
 (0)