Skip to content

Linting Python files on the fly using flake8 with Atom

License

Notifications You must be signed in to change notification settings

okdtsk/linter-flake8

 
 

Repository files navigation

linter-flake8 package

This is a linter-flake8 plugin for Linter. It is an interface to flake8.

img

Requirements

Linter package must be installed in order to use this plugin. If Linter is not installed, please follow the instructions here.

Installation

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

Settings

You can configure linter-flake8 as nearly all Atom modules by editing plugin settings in Atom->Preferences->Packages->linter-flake-8.

img

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/'

Donation

Share the love!

About

Linting Python files on the fly using flake8 with Atom

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 100.0%