failure to reformat multiline dict with inline comments in a reasonable manner #800
Labels
F: comments
The syntactic kind. Not in the language grammar, always on our minds. Best bugs.
T: style
What do we want Blackened code to look like?
Operating system: Linux
Python version: 3.7.3
Black version: 19.3b0
Does also happen on master: ✔️
Code before:
After:
Formatting works correctly with both a shorter line length, and trimming the dictionary to be less than 88 characters. (In those cases, Black doesn't do anything do the code.)
The text was updated successfully, but these errors were encountered: