Comments interfering with fluent formatting #458
Labels
F: comments
The syntactic kind. Not in the language grammar, always on our minds. Best bugs.
T: bug
Something isn't working
Projects
Copied over from #379 (comment)
Without a comment, formatted with black (
-l 79
)Adding a comment, before formatting
With a comment, after formatting with black:
Without thinking about the more general problem, the second example here is ideal - the comment can be within a fluent expression and wouldn't change the fluent expression formatting.
Thanks again for such an awesome library and vision!
Operating system: MacOS
Python version: 3.7
Black version: 18.6b4
Does also happen on master:
The text was updated successfully, but these errors were encountered: