Skip to content
Open
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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.14.14"
rev: "v0.15.4"
hooks:
- id: ruff-check
args: ["--fix"]
Expand Down Expand Up @@ -67,12 +67,12 @@ repos:
- id: shellcheck

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

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

- repo: https://github.com/scientific-python/cookie
rev: 2025.11.21
rev: 2026.03.02
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 @@ -212,7 +212,7 @@ def _fold(
) -> str: # pragma: no cover
if hasattr(value, "name"):
return value.fold(policy=self) # type: ignore[no-any-return]
maxlen = self.max_line_length if self.max_line_length else sys.maxsize
maxlen = self.max_line_length or sys.maxsize

# this is from the library version, and it improperly breaks on chars like 0x0c, treating
# them as 'form feed' etc.
Expand Down