Hacker News new | ask | show | jobs
by duckmysick 19 days ago
Not sure if you can still read my late reply, but Black has a `--skip-magic-trailing-comma` flag:

> By default, Black uses existing trailing commas as an indication that short lines should be left separate, as described in the style documentation. If this option is given, the magic trailing comma is ignored.

https://black.readthedocs.io/en/stable/usage_and_configurati...

It should then keep the lines intact, unless they exceed the line length. I have mine set to 120.