black
black copied to clipboard
fix: Don't remove parenthesis around long dictionary values
trafficstars
Description
Resolves #4158 (string_processing and wrap_long_dict_values_in_parens)
Resolves #3452 (wrap_long_dict_values_in_parens)
Still need to move to the preview style & add changelog entry
Checklist - did you ...
- [n] Add an entry in
CHANGES.mdif necessary? - [y] Add / update tests if necessary?
- [-] Add new / update outdated documentation?
diff-shades reports zero changes comparing this PR (9140aa2dce538f49ceccece7e999c8226ed2c820) to main (b677a643c5322b6af2dbca1f8f7a4f8c98e732aa).
Ready for review. Not sure why CI is failing; seems unrelated to my PR.