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
10 changes: 5 additions & 5 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.9.4
rev: v0.9.9
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -51,15 +51,15 @@ repos:
exclude: ^src/scikit_build_core/resources/find_python

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

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
rev: v1.15.0
hooks:
- id: mypy
exclude: |
Expand Down Expand Up @@ -129,12 +129,12 @@ repos:
additional_dependencies: [cogapp]

- repo: https://github.com/henryiii/validate-pyproject-schema-store
rev: 2025.02.03
rev: 2025.02.24
hooks:
- id: validate-pyproject

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.31.1
rev: 0.31.2
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand Down
2 changes: 1 addition & 1 deletion src/scikit_build_core/builder/sysconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def get_soabi(env: Mapping[str, str], *, abi3: bool = False) -> str:
if setuptools_ext_suffix:
return setuptools_ext_suffix.rsplit(".", 1)[0].lstrip(".")

if sys.version_info < (3, 8, 7): # noqa: UP036
if sys.version_info < (3, 8, 7):
# See https://github.com/python/cpython/issues/84006
import distutils.sysconfig # pylint: disable=deprecated-module

Expand Down
2 changes: 1 addition & 1 deletion tests/test_pyproject_pep660.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_pep660_pip_isolated(isolated, isolate, editable_mode: str):
"import simplest._module; print(simplest._module.__file__)"
)

if sys.version_info < (3, 8, 7): # noqa: UP036
if sys.version_info < (3, 8, 7):
import distutils.sysconfig # pylint: disable=deprecated-module

ext_suffix = distutils.sysconfig.get_config_var("EXT_SUFFIX")
Expand Down
Loading