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:
==19.3b0
->==22.3.0
Release Notes
psf/black
v22.3.0
Compare Source
Preview style
#%%
are now standardised to# %%
(#2919)except
statements (#2939)for
loops (#2945)Configuration
__pypackages__
directories by default (#2836)--required-version
(#2832).Documentation
Integrations
Output
Packaging
tomllib
instead oftomli
(#2903)
black-primer
, the deprecated internal devtool, has been removed and copied to aseparate repository (#2924)
Parser
for
andasync for
statements, e.g
for item in *items_1, *items_2: pass
(#2879).v22.1.0
Compare Source
At long last, Black is no longer a beta product! This is the first non-beta release
and the first release covered by our new
stability policy.
Highlights
--preview
flag (#2752)Style
--experimental-string-processing
and move the functionality under--preview
(#2789)at least one pre-existing blank line (#2736)
magic trailing comma (#2807)
literals (#2799)
if
statements (#2820)Parser
case {"key": 1 | 2 as password}
(#2686)
case 1 as a, 2 as b
(#2716)
case Foo(bar=baz as quux)
(#2749)return
andyield
constructs now implies 3.8+ (#2700)values: Tuple[int, ...] = 1, 2, 3
) now implies 3.8+ (#2708)match()
orcase()
when there is a trailing newline or acomment inside of the parentheses. (#2760)
from __future__ import annotations
statement now implies Python 3.7+ (#2690)Performance
--target-version
is set to 3.10 and higher). (#2728)speed-up. 64-bit Windows, MacOS, and Linux (not including musl) are supported. (#1009,
#2431)
Configuration
python-cell-magics
) to format cells with custom magics inJupyter Notebooks (#2744)
BLACK_CACHE_DIR
(#2739).--target-version=py310
. (#2758)SRC
or--code
mandatory and mutually exclusive (#2804)Output
underlying SyntaxError (#2693)
(#2691)
be formatted. (#2526)
Packaging
typing-extensions
is no longer a required dependency in Python 3.10+ (#2772)click
lower bound to8.0.0
(#2791)Integrations
Documentation
https://
(#2761)(#2793)
black-primer
tool (#2809)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 has been generated by Mend Renovate. View repository job log here.