Improve long values in dict literals#3440
Conversation
|
diff-shades results comparing this PR (ba1b968) to main (a282181). The full diff is available in the logs under the "Generate HTML diff report" step. |
|
Notes from diff-shades: Note that both the key and the value in the dictcomp use Pandas has a similarly odd-looking case with a Otherwise I like the changes from the PR: they make it easier to see when one dict key ends and the next one begins, because values get indented. |
JelleZijlstra
left a comment
There was a problem hiding this comment.
thanks, just noticed two typos
Co-authored-by: Jelle Zijlstra <[email protected]>
Co-authored-by: Jelle Zijlstra <[email protected]>
|
Thanks for the review! Agreed above two examples are out of scope from this PR, they concern the dict keys. Opened #3442 separately. |
Description
This PR changes the preview style:
Usually I'd like to keep the PR's scope minimal, but the lambda change & dict value change are depended by each other so it's hard to split into two PRs.
Checklist - did you ...
CHANGES.mdif necessary?