linter-flake8 icon indicating copy to clipboard operation
linter-flake8 copied to clipboard

Flake8 rule 'W292' reported an invalid point

Open purebluesong opened this issue 7 years ago • 5 comments

Flake8 reported an invalid point for the rule W292, with the messge no newline at end of file.

Debug information: Atom version: 1.18.0 Flake8 version: 3.4.1 (mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.5.0) CPython 2.7.6 on Linux

purebluesong avatar Aug 14 '17 10:08 purebluesong

Do you have an example file to reproduce this with?

Arcanemagus avatar Aug 29 '17 18:08 Arcanemagus

@chakibBH, @manelbenaissa, and @shirshendubhowmick:

Are any of you able to share a file that reproduces this?

Arcanemagus avatar Dec 04 '17 20:12 Arcanemagus

Sorry, I was not able to reproduce this behaviour.

chakibBH avatar Dec 07 '17 13:12 chakibBH

I Have been following a tutorial from this simpleisbetterthancomplex. I'm facing weird error from flake8 of W292 - no newline at end of file.

Attaching my view file. occurs in last line(63)

views.zip

Debug Information:

Atom Version : 1.23.1 x64 Windows 10

autopep8 (1.3.3) flake8 (3.5.0) flake8-docstrings (1.1.0) flake8-pep257 (1.0.5) flake8-polyfill (1.0.1)

udgeet avatar Jan 01 '18 06:01 udgeet

@udgeet Commenting on an existing issue with a different problem is bad form. If you are unsure if your issue is the same, then do create a new issue.

sounds like an issue in flake8, reporting a warning incorrectly, not an issue in linter-flake8.

If you can reproduce the problem on the command line with flake8, then it's a problem with flake8.

ddaanet avatar Jan 11 '18 13:01 ddaanet