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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
exclude: "^tests"

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.11
rev: v0.11.12
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -59,7 +59,7 @@ repos:
exclude: "^tests|src/scikit_build_core/resources/scikit-build.schema.json|^docs/projects.md"

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.15.0
rev: v1.16.0
hooks:
- id: mypy
exclude: |
Expand Down Expand Up @@ -128,7 +128,7 @@ repos:
args: [docs/about/projects.md]
pass_filenames: false
language: python
additional_dependencies: [cogapp]
additional_dependencies: ["cogapp>=3.5"]

- repo: https://github.com/henryiii/validate-pyproject-schema-store
rev: 2025.05.12
Expand Down
2 changes: 1 addition & 1 deletion docs/about/projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ for project in projects["project"]:
* [kiss-icp](https://pypi.org/project/kiss-icp) ([source](https://github.com/PRBonn/kiss-icp/blob/HEAD/python/pyproject.toml))
* [simsopt](https://pypi.org/project/simsopt) ([source](https://github.com/hiddenSymmetries/simsopt/blob/HEAD/pyproject.toml))
* [mqt-core](https://pypi.org/project/mqt-core) ([source](https://github.com/munich-quantum-toolkit/core/blob/HEAD/pyproject.toml))
<!--[[[end]]] (checksum: a798ae9bb220ab16cfe9402431cde0cf)-->
<!--[[[end]]] (sum: p5ium7Igqx)-->

<!-- prettier-ignore-end -->

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ run.omit = ["src/scikit_build_core/_vendor"]
run.disable_warnings = [
"module-not-measured", # Triggers in multithreaded context on build
"no-sysmon",
"couldnt-parse", # site-customize is unparsable on latest GHA windows versions
]
report.exclude_also = [
'\.\.\.',
Expand Down
2 changes: 1 addition & 1 deletion src/scikit_build_core/settings/documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_display_type(field_type: type | str) -> str:
if get_origin(field_type) is Annotated:
# For annotated assume we always want the second item
return get_display_type(get_args(field_type)[1])
if field_type is typing.Any: # type: ignore[comparison-overlap]
if field_type is typing.Any:
# Workaround for python<3.10 where typing.Any.__name__ does not evaluate
return "Any"
# Otherwise just get the formatted form of the `type` object
Expand Down
Loading