Is your feature request related to a problem? Please describe.
#826 (comment)
... for collections that you know will grow, there was no way to anticipate it by exploding them into one-element-per-line. Why would you want that? Because it minimizes diffs and that is a thing Black advertises as a feature: minimizing diff noise.
Now with #826 effected, my short collections with trailing commas will all explode into multiple lines, introducing way too loud noise (as well as waste of vertical space) to my codebase.
I know they'll grow, but only within single line, in near future, I don't anticipate most of them grow into multiple lines. And when one collection shall pass the threshold from single line to multi line in farther future, that change should deserves a larger diff to give the correct visual.
My situation can not be solved with --skip-magic-trailing-comma introduced by #1288, as it'll remove my trailing "magic" comma, then either the last element or the first one, will appear unequal to other elements when I adjust their relative positions.
Describe the solution you'd like
I suggest that anticipated vertical grow to be expressed by the magic trailing comma plus at least 2 lines of elements, effectively making anticipated horizontal grow expressible & honored, by the magic trailing comma plus a single line of elements (within line length limit of course).
Is your feature request related to a problem? Please describe.
#826 (comment)
Now with #826 effected, my short collections with trailing commas will all explode into multiple lines, introducing way too loud noise (as well as waste of vertical space) to my codebase.
I know they'll grow, but only within single line, in near future, I don't anticipate most of them grow into multiple lines. And when one collection shall pass the threshold from single line to multi line in farther future, that change should deserves a larger diff to give the correct visual.
My situation can not be solved with
--skip-magic-trailing-commaintroduced by #1288, as it'll remove my trailing "magic" comma, then either the last element or the first one, will appear unequal to other elements when I adjust their relative positions.Describe the solution you'd like
I suggest that anticipated vertical grow to be expressed by the magic trailing comma plus at least 2 lines of elements, effectively making anticipated horizontal grow expressible & honored, by the magic trailing comma plus a single line of elements (within line length limit of course).