E275: Warning if keyword is at the end of a line
jnsebgosselin opened this issue · comments
I can't reproduce -- can you attach the exact file?
Sure, there you go:
There is no such warnings when using pycodestyle 2.8.0
, which is as expected I guess.
I can't reproduce -- it's probably something spyder is doing incorrectly:
$ pycodestyle --version
2.9.1
$ pycodestyle warn_275_pycodestyle.py
$
You are correct. I cannot reproduce when evaluating the file with :
import pycodestyle
sut = pycodestyle.StyleGuide()
results = sut.input_file(filename="warn_275_pycodestyle.py")
print(results)
I will report this issue in the Spyder repo directly. Thanks for the quick reply!