linter-python-pyflakes

Linting Python files on the fly using pyflakes command

bsnux

8,217

8

0.1.0

MIT

GitHub

linter-python-pyflakes package

This linter-python-pyflakes plugin for Linter provides an interface to pyflakes. It will be used with files that have the Python syntax.

Requirements

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

Installation

Before using this plugin, you must ensure that pyflakes is installed on your system. To install pyflakes, do the following:

  1. Install python.

  2. Install pyflakes by typing the following in a terminal:

    pip install pyflakes
    

Now you can proceed to install the linter-python-pyflakes plugin.

Plugin installation

$ apm install linter-python-pyflakes

Settings

You can configure linter-python-pyflakes by editing ~/.atom/config.cson (choose Open Your Config in Atom menu). You'll need to add the directory where your pyflakes executable resides. Example:

'linter-python-pyflakes':
  'pyflakesDirToExecutable': '/usr/local/bin/'