This is a linter-flake8 plugin for Linter. It is an interface to flake8.
Linter package must be installed in order to use this plugin. If Linter is not installed, please follow the instructions here.
To use a plugin, you must ensure that flake8
is installed on your
system.
Install flake8 by typing the following in a terminal:
pip install flake8
To include built-in docstrings (pep257) support you will also need to install:
pip install flake8-docstrings
or:
pip install flake8-pep257
Install plugin by typing:
$ apm install linter-flake8
You can configure linter-flake8 as nearly all Atom modules by editing plugin settings in Atom->Preferences->Packages->linter-flake-8.
Or if you prefere you can use Atom config.cson file ~/.atom/config.cson (click Open Your Config in Atom menu).
In configuration you can specify executable directory if node hasn't it in $PATH. Example:
'linter-flake8':
'executableDir': '/usr/local/bin/'