Skip to content

Commit 8bc6aa5

Browse files
pre-commit: bump repositories (#218)
* pre-commit: bump repositories updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.4 → v0.9.3](astral-sh/ruff-pre-commit@v0.7.4...v0.9.3) - [github.com/rbubley/mirrors-prettier: v3.3.3 → v3.4.2](rbubley/mirrors-prettier@v3.3.3...v3.4.2) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.0](codespell-project/codespell@v2.3.0...v2.4.0) - [github.com/henryiii/validate-pyproject-schema-store: 2024.11.18 → 2025.01.20](henryiii/validate-pyproject-schema-store@2024.11.18...2025.01.20) - [github.com/python-jsonschema/check-jsonschema: 0.29.4 → 0.31.0](python-jsonschema/check-jsonschema@0.29.4...0.31.0) - [github.com/scientific-python/cookie: 2024.08.19 → 2025.01.22](scientific-python/cookie@2024.08.19...2025.01.22) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 55f15fd commit 8bc6aa5

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.pre-commit-config.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: trailing-whitespace
1818

1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: "v0.7.4"
20+
rev: "v0.9.3"
2121
hooks:
2222
- id: ruff
2323
args: ["--fix", "--show-fixes"]
@@ -37,7 +37,7 @@ repos:
3737
additional_dependencies: [black==24.*]
3838

3939
- repo: https://github.com/rbubley/mirrors-prettier
40-
rev: "v3.3.3"
40+
rev: "v3.4.2"
4141
hooks:
4242
- id: prettier
4343
types_or: [yaml, markdown, html, css, scss, javascript, json]
@@ -52,7 +52,7 @@ repos:
5252
- flit-core
5353

5454
- repo: https://github.com/codespell-project/codespell
55-
rev: v2.3.0
55+
rev: v2.4.0
5656
hooks:
5757
- id: codespell
5858
exclude: ^(LICENSE$|src/scikit_build_core/resources/find_python|tests/test_skbuild_settings.py$)
@@ -63,12 +63,12 @@ repos:
6363
- id: shellcheck
6464

6565
- repo: https://github.com/henryiii/validate-pyproject-schema-store
66-
rev: 2024.11.18
66+
rev: 2025.01.20
6767
hooks:
6868
- id: validate-pyproject
6969

7070
- repo: https://github.com/python-jsonschema/check-jsonschema
71-
rev: 0.29.4
71+
rev: 0.31.0
7272
hooks:
7373
- id: check-dependabot
7474
- id: check-github-workflows
@@ -77,6 +77,6 @@ repos:
7777
files: \.schema\.json
7878

7979
- repo: https://github.com/scientific-python/cookie
80-
rev: 2024.08.19
80+
rev: 2025.01.22
8181
hooks:
8282
- id: sp-repo-review

pyproject_metadata/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@
7676
"RFC822Policy",
7777
"Readme",
7878
"StandardMetadata",
79-
"field_to_metadata",
8079
"extras_build_system",
8180
"extras_project",
8281
"extras_top_level",
82+
"field_to_metadata",
8383
]
8484

8585

tests/test_standard_metadata.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1259,8 +1259,10 @@ def test_license_file_24(
12591259
pre_spdx = (
12601260
metadata_version in pyproject_metadata.constants.PRE_SPDX_METADATA_VERSIONS
12611261
)
1262-
with contextlib.nullcontext() if pre_spdx else pytest.warns(
1263-
pyproject_metadata.errors.ConfigurationWarning
1262+
with (
1263+
contextlib.nullcontext()
1264+
if pre_spdx
1265+
else pytest.warns(pyproject_metadata.errors.ConfigurationWarning)
12641266
):
12651267
metadata = pyproject_metadata.StandardMetadata.from_pyproject(
12661268
{

0 commit comments

Comments
 (0)