flake8 finds no issues
See original GitHub issueHi,
I experienced this error using atom and flake8 with OS El Capitan.
Error: spawn flake8 ENOENT
at exports._errnoException (util.js:1026:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
I reinstalled atom and flake8 and add the executable path (/Applications/anaconda/bin/flake8) in flake8 settings. Now I do not see any error but flake8 does not find any issue in my code (not working).
Thanks for your help!
Romain
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (4 by maintainers)
Top Results From Across the Web
python: flake8 cannot find non exising method - Stack Overflow
flake8 does not return an error for foo() method since it is not a 'list' method. Is this normal or do I need...
Read more >Selecting and Ignoring Violations — flake8 6.0.0 documentation
By default, Flake8 has a list of error codes that it ignores. The list used by a version of Flake8 may be different...
Read more >flake8-bugbear - PyPI
A plugin for flake8 finding likely bugs and design problems in your program. ... B002: Python does not support the unary prefix increment....
Read more >flake8 Documentation - Read the Docs
Please do not open issues about this dependency to Flake8. ... any config files and use Flake8 as if there were no config...
Read more >Detecting Problems Early | Intuitive Python by David Muller
In this section we'll talk about two tools for finding and ... flake8 detects, ahead of time, any Python source code that tries...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI: Got it working by following the suggestion here (I’m not using Ruby though).
Ran
which flake8
and pasted the output in the field ‘Executable Path’ under the linter package’s ‘Settings’ in Atom.Actually, I read the docs now and it seems I anyways needed to install flake8 along with linter-flake8 (sorry, I didnt realise that it was a pre-req and not the same thing). So I just did:
pip install flake8
But I still get the following error:
Facing the same issue with pylint also (https://github.com/AtomLinter/linter-pylint/issues/195#issuecomment-279296987)