Skip to content

Commit

Permalink
pre-commit: bump repositories (#218)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
pre-commit-ci[bot] authored Jan 27, 2025
1 parent 55f15fd commit 8bc6aa5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
- id: trailing-whitespace

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

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

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

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

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.4
rev: 0.31.0
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand All @@ -77,6 +77,6 @@ repos:
files: \.schema\.json

- repo: https://github.com/scientific-python/cookie
rev: 2024.08.19
rev: 2025.01.22
hooks:
- id: sp-repo-review
2 changes: 1 addition & 1 deletion pyproject_metadata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@
"RFC822Policy",
"Readme",
"StandardMetadata",
"field_to_metadata",
"extras_build_system",
"extras_project",
"extras_top_level",
"field_to_metadata",
]


Expand Down
6 changes: 4 additions & 2 deletions tests/test_standard_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1259,8 +1259,10 @@ def test_license_file_24(
pre_spdx = (
metadata_version in pyproject_metadata.constants.PRE_SPDX_METADATA_VERSIONS
)
with contextlib.nullcontext() if pre_spdx else pytest.warns(
pyproject_metadata.errors.ConfigurationWarning
with (
contextlib.nullcontext()
if pre_spdx
else pytest.warns(pyproject_metadata.errors.ConfigurationWarning)
):
metadata = pyproject_metadata.StandardMetadata.from_pyproject(
{
Expand Down

0 comments on commit 8bc6aa5

Please sign in to comment.