Skip to content

Commit

Permalink
Changelog and docs updates
Browse files Browse the repository at this point in the history
  • Loading branch information
MeGaGiGaGon committed Oct 22, 2024
1 parent 0a710e0 commit c2437e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

<!-- Changes that affect Black's preview style -->

- Fix/remove string merging changing f-string quotes (#4498)

### Configuration

<!-- Changes to how Black can be configured -->
Expand Down
9 changes: 5 additions & 4 deletions docs/the_black_code_style/future_style.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,11 @@ foo(

_Black_ will split long string literals and merge short ones. Parentheses are used where
appropriate. When split, parts of f-strings that don't need formatting are converted to
plain strings. User-made splits are respected when they do not exceed the line length
limit. Line continuation backslashes are converted into parenthesized strings.
Unnecessary parentheses are stripped. The stability and status of this feature is
tracked in [this issue](https://github.com/psf/black/issues/2188).
plain strings. f-strings will not be merged if it would change their quotation mark
style. User-made splits are respected when they do not exceed the line length limit.
Line continuation backslashes are converted into parenthesized strings. Unnecessary
parentheses are stripped. The stability and status of this feature istracked in
[this issue](https://github.com/psf/black/issues/2188).

(labels/wrap-long-dict-values)=

Expand Down

0 comments on commit c2437e7

Please sign in to comment.