Inconsistent treatment of trailing whitespace in multiline strings #3822
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Steps to reproduce
Current behavior
pylint incorrectly warns about the trailing whitespace on the line with
foobar2
and correctly ignores the trailing whitespace on the line withfoobar
.Expected behavior
pylint should produce no trailing whitespace warnings, as all the occurrences are in literal strings.
pylint --version output
pylint 2.6.0
astroid 2.4.2
Python 3.7.8 (default, Jul 30 2020, 09:48:41)
[GCC 9.3.0]
The text was updated successfully, but these errors were encountered: