Skip to content

Commit b07b697

Browse files
chore(deps): update pre-commit hooks (#1007)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.4 → v0.9.9](astral-sh/ruff-pre-commit@v0.9.4...v0.9.9) - [github.com/rbubley/mirrors-prettier: v3.4.2 → v3.5.3](rbubley/mirrors-prettier@v3.4.2...v3.5.3) - [github.com/pre-commit/mirrors-mypy: v1.14.1 → v1.15.0](pre-commit/mirrors-mypy@v1.14.1...v1.15.0) - [github.com/henryiii/validate-pyproject-schema-store: 2025.02.03 → 2025.02.24](henryiii/validate-pyproject-schema-store@2025.02.03...2025.02.24) - [github.com/python-jsonschema/check-jsonschema: 0.31.1 → 0.31.2](python-jsonschema/check-jsonschema@0.31.1...0.31.2) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 35eff43 commit b07b697

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.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.9.4
28+
rev: v0.9.9
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.4.2"
54+
rev: "v3.5.3"
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.14.1
62+
rev: v1.15.0
6363
hooks:
6464
- id: mypy
6565
exclude: |
@@ -129,12 +129,12 @@ repos:
129129
additional_dependencies: [cogapp]
130130

131131
- repo: https://github.com/henryiii/validate-pyproject-schema-store
132-
rev: 2025.02.03
132+
rev: 2025.02.24
133133
hooks:
134134
- id: validate-pyproject
135135

136136
- repo: https://github.com/python-jsonschema/check-jsonschema
137-
rev: 0.31.1
137+
rev: 0.31.2
138138
hooks:
139139
- id: check-dependabot
140140
- id: check-github-workflows

src/scikit_build_core/builder/sysconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def get_soabi(env: Mapping[str, str], *, abi3: bool = False) -> str:
167167
if setuptools_ext_suffix:
168168
return setuptools_ext_suffix.rsplit(".", 1)[0].lstrip(".")
169169

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

tests/test_pyproject_pep660.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_pep660_pip_isolated(isolated, isolate, editable_mode: str):
9797
"import simplest._module; print(simplest._module.__file__)"
9898
)
9999

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

103103
ext_suffix = distutils.sysconfig.get_config_var("EXT_SUFFIX")

0 commit comments

Comments
 (0)