You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for unpacking in comprehensions (PEP 798) and for lazy imports (PEP 810),
both new syntactic features in Python 3.15 (#5048)
Python 3.15 is now supported. Compiled wheels are not yet provided for Python 3.15, so
performance may be slower than on existing Python versions. Wheels will be provided
once Python 3.15 is later in its release cycle. (#5127)
Stable style
Fix # fmt: skip being ignored in nested if expressions with parenthesized in
clauses (#4903)
Fix crash when an f-string follows a # fmt: off comment inside brackets (#5097)
Preserve multiline compound statement headers when # fmt: skip is placed on the
colon line (#5117)
Preview style
Improve heuristics around whether blank lines should appear before, within and after
groups of same-name decorated functions (such as @overload groups) in .pyi stub
files (#5021)
Fix blank lines being removed between a function and a decorated class in .pyi stub
files (#5092)
Prevent string merger from creating unsplittable long lines when a pragma comment
(e.g. # type: ignore) follows the closing bracket (#5096)
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer TIP This summary will be updated as you push new changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
26.3.1→26.5.0Release Notes
psf/black (black)
v26.5.0Compare Source
Highlights
both new syntactic features in Python 3.15 (#5048)
performance may be slower than on existing Python versions. Wheels will be provided
once Python 3.15 is later in its release cycle. (#5127)
Stable style
# fmt: skipbeing ignored in nestedifexpressions with parenthesizedinclauses (#4903)
# fmt: offcomment inside brackets (#5097)# fmt: skipis placed on thecolon line (#5117)
Preview style
groups of same-name decorated functions (such as
@overloadgroups) in.pyistubfiles (#5021)
.pyistubfiles (#5092)
(e.g.
# type: ignore) follows the closing bracket (#5096)Packaging
Output
(#5068)
SourceASTParseErrorto distinguish source parse failures from internal safetyerrors, improving error reporting when Black's lenient parser accepts input that
ast.parse()rejects (#5080)Blackd
HTTP 500 only for genuine internal safety errors (#5080)
Integrations
match (#4916)
Documentation
(#5063)
sublackplugin is archived andunmaintained (#5082)
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.