Skip to content

chore: bump pyproject-fmt to 2.24.0 and reformat pyproject.toml#6085

Closed
Jacksunwei wants to merge 1 commit into
mainfrom
chore/bump-pyproject-fmt
Closed

chore: bump pyproject-fmt to 2.24.0 and reformat pyproject.toml#6085
Jacksunwei wants to merge 1 commit into
mainfrom
chore/bump-pyproject-fmt

Conversation

@Jacksunwei

Copy link
Copy Markdown
Collaborator

Summary

  • Bump the pinned pyproject-fmt pre-commit hook from v2.5.0 to v2.24.0.
  • Reformat pyproject.toml with the new version. The 2.24.0 formatter:
    • collapses redundant table headers into dotted keys ([tool.flit.sdist]/[tool.flit.module][tool.flit], [tool.pytest.ini_options][tool.pytest])
    • normalizes blank lines between [project.optional-dependencies] sections
    • sorts inline arrays (e.g. known_third_party)
    • adds the Programming Language :: Python :: 3.14 trove classifier

Notes

  • The reformat is purely from running the upgraded formatter; no manual edits.
  • pyproject-fmt==2.24.0 --check pyproject.toml is idempotent (passes with no changes).
  • 2.24.0 auto-adds the 3.14 classifier as part of its trove-classifier sync; this is accepted intentionally.

Test plan

  • pyproject-fmt==2.24.0 --check pyproject.toml passes
  • pre-commit run --files pyproject.toml .pre-commit-config.yaml passes

Updates the pinned pyproject-fmt hook from v2.5.0 to v2.24.0 and
reformats pyproject.toml with the new version. The newer version
collapses redundant table headers (flit, pytest) into dotted keys,
normalizes blank lines between sections, sorts inline arrays, and
adds the Python 3.14 trove classifier.

Change-Id: I88407b26f9e90103d3e09c0e30c0b4ab707d90b6
@Jacksunwei

Copy link
Copy Markdown
Collaborator Author

Folding this into #6084 instead.

@Jacksunwei Jacksunwei closed this Jun 11, 2026
@Jacksunwei Jacksunwei deleted the chore/bump-pyproject-fmt branch June 11, 2026 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant