chore(deps): update pre-commit hook psf/black to v25.12.0#538
chore(deps): update pre-commit hook psf/black to v25.12.0#538renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #538 +/- ##
=======================================
Coverage 91.09% 91.09%
=======================================
Files 111 111
Lines 4201 4201
Branches 552 552
=======================================
Hits 3827 3827
Misses 231 231
Partials 143 143 🚀 New features to boost your workflow:
|
0e6bfe7 to
94aa1a4
Compare
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request updates the psf/black pre-commit hook from version 25.9.0 to 25.12.0. While this is a good maintenance task, it's important to ensure that the version of black used in the pre-commit hook is consistent with the version used in the development environment. Currently, the pyproject.toml specifies black = "^25.0.0", which has resolved to 25.11.0 in poetry.lock. This discrepancy can lead to inconsistent formatting and CI failures. I've added a comment to suggest aligning these versions.
| - id: black | ||
| repo: https://github.com/psf/black | ||
| rev: 25.9.0 | ||
| rev: 25.12.0 |
There was a problem hiding this comment.
This update to version 25.12.0 is good, but it creates a version mismatch with the black dependency in your development environment. Your pyproject.toml specifies black = "^25.0.0", which is currently locked to 25.11.0 in poetry.lock. To ensure consistent formatting between local runs and pre-commit hooks, it's best practice to align these versions. Please consider updating the black dependency in pyproject.toml to ^25.12.0 and regenerating the lock file.
94aa1a4 to
8fb9f8f
Compare
8fb9f8f to
e79b529
Compare
This PR contains the following updates:
25.9.0→25.12.0Note: The
pre-commitmanager in Renovate is not supported by thepre-commitmaintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.Release Notes
psf/black (psf/black)
v25.12.0Compare Source
Highlights
Stable style
# fmt: off/# fmt: onblocks were incorrectlyremoved, particularly affecting Jupytext's
# %% [markdown]comments (#4845)# fmt: skipcomments are used in a multi-part if-clause, onstring literals, or on dictionary entries with long lines (#4872)
fmt:directives aren't on the top level (#4856)Preview style
fmt: skipskipping the line after instead of the line it's on (#4855)magic trailing commas and intentional multiline formatting (#4865)
fix_fmt_skip_in_one_linerscrashing onwithstatements (#4853)fix_fmt_skip_in_one_linerscrashing on annotated parameters (#4854)# fmt: skipon them (#4894)Packaging
Integrations
output-fileinput to GitHub Actionpsf/blackto write formatter output to afile for artifact capture and log cleanliness (#4824)
v25.11.0Compare Source
Highlights
Stable style
# fmt: offand# fmt: onwere reformatted (#4811)being normalized (#4811)
Preview style
multiline_string_handlingfrom--unstableto--preview(#4760)comments (#4764)
# type: <value>(#4645)fix_fmt_skip_in_one_linerspreview feature to respect# fmt: skipfor compoundstatements with semicolon-separated bodies (#4800)
Configuration
no_cacheoption to control caching behavior. (#4803)Packaging
Output
(#4610)
Blackd
requests to blackd (#4774)
Integrations
psf/blackto support therequired-versionmajor-version-only"stability" format when using pyproject.toml (#4770)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.