Open jayvdb opened 7 years ago
The fixes need to be changed to not use line-continuation if one of the expressions contains a comment. Instead the expressions can be wrapped in (…)
. Maybe its easier to always wrap the expressions.
We ought to check is other fixes are effected, too.
A comment inside a string breaks the tools as it unnecessarily appends line continuations to strings
i.e. this chokes
A real example
From https://github.com/coala/coala/blob/8a25983/tests/output/ConsoleInteractionTest.py#L623
Result: https://travis-ci.org/jayvdb/coala/jobs/246949584#L9052
(Another bug coming about the other problem in that build log.)