SE-0439: Allow trailing comma in comma-separated lists

I would also consider the way Python’s Black formatter handles trailing commas: where possible, it interprets the presence or absence of a trailing comma as the user’s desire to have the list on multiple or one line(s) respectively, max line width permitting. Deleting a trailing comma and pressing “format” will put a list entirely on one line if possible; adding a trailing comma will break the list into one line per element.

6 Likes