Black 23.1 no longer respects trailing magic comma for single length list #3542
Labels
F: trailing comma
Full of magic
R: not a bug
This is deliberate behavior of Black.
T: bug
Something isn't working
T: style
What do we want Blackened code to look like?
β― black magic.py --check would reformat magic.py Oh no! π₯ π π₯ 1 file would be reformatted.
It turns it into:
I personally would prefer to respect trailing magic commas here, but at the very least remove the trailing comma if is going to be inlined into a single line.
The text was updated successfully, but these errors were encountered: