question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

linter-flake8 is not working, no error messages

See original GitHub issue

Sorry guys for the stupid issue, but I spend a few hours to find a solution through the web and unfortunately nothing works 😦

I am not a programmer and usually I use Pythons IDLE. So I installed Atom 1.9.8 on Windows7 x64 as normal user. (update to Atom 1.9.9)

Python Path: C:\Program Files\Python35

I set Python as system variable and installed:

pip install pep8
pip install flake8
pip install flake8-docstrings
pip install hacking

flake8 Path: C:\Program Files\Python35\Lib\site-packages\flake8

Launched Atom as nornal user and installed the following packages:

  • linter
  • linter-flake8
  • python-autopep8
  • autocomplete-python
  • script

For script I installed git for Windows.

I entered in the flake8 packages settings the flake8 path as executable path Restart Atom, no error messages appear, typing some lines and nothing… no linter messages 😦

I tried to set the path in the init.coffee file

`process.env.PATH = ['C:\\Program Files\\Python35\\Lib\\site-packages\\flake8', process.env.PATH].join(':')

but it is still not working.

What is going wrong?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Arcanemaguscommented, Aug 19, 2016

First of all you shouldn’t need that PATH modification in your init.coffee.

What happens if you put the output of where.exe flake8 in the executable path setting? (Most likely this will be C:\Program Files\Python35\Scripts\flake8.exe)

0reactions
Arcanemaguscommented, Aug 20, 2016

Well, that’s most likely a symlink, which makes the same file appear in more than one place on the file system, but yes 😉.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix linter-Flake8 in atom for Python Configuration
Install Linter-flake8 From Atom and then restart your IDE. Check if it's actually being installed via your package manager by executing: which ...
Read more >
Python Flake8 Lint - Package Control
Python Flake8 Lint is a Sublime Text 2/3 plugin for check Python files ... PyFlakes checks only for logical errors in programs; it...
Read more >
Error / Violation Codes — flake8 6.0.0 documentation
Flake8 and its plugins assign a code to each message that we refer to as an error code (or violation). Most plugins will...
Read more >
Linting With Flake8 - PyBites
Linting is the process of running a program that analyses code for programmatic errors such as bugs, actual errors, styling issues etc.
Read more >
Flake8 - Visual Studio Marketplace
Extension for Visual Studio Code - Linting support for python ... from flake8 to VS Code severity when displaying in the problems window....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found