ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-flake​8

by SublimeLinter ST3

SublimeLinter plugin for python, using flake8.

Details

Installs

  • Total 42K
  • Win 13K
  • OS X 17K
  • Linux 12K
Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7
Windows 17 14 36 32 18 30 23 9 16 19 26 14 23 23 14 14 25 28 18 20 9 9 16 17 26 28 20 14 12 13 19 18 20 29 22 13 9 11 20 25 25 12 16 9 23 11
OS X 9 19 28 21 39 21 16 12 14 25 27 28 31 28 5 13 24 21 21 26 13 5 9 16 17 15 7 13 13 15 8 14 25 20 18 14 12 13 19 19 22 32 16 5 22 34
Linux 5 16 13 21 16 23 9 10 12 14 17 15 10 20 13 10 15 22 24 18 10 9 11 17 12 14 19 9 7 4 13 12 15 20 14 8 12 14 7 16 16 24 12 10 13 23

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-flake8

Build Status

This linter plugin for SublimeLinter provides an interface to flake8. It will be used with files that have the “Python” syntax.

SublimeLinter 4 beta

We're making big improvements to how SublimeLinter works. You can read more about it here.

Participate in the beta right now by editing your Package Control preferences and adding SublimeLinter and SublimeLinter-flake8 to the “install_prereleases” key:

"install_prereleases":
[
  "SublimeLinter",
  "SublimeLinter-flake8"
]

Installation

SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

Before installing this plugin, you must ensure that flake8 (2.1 or later) is installed on your system. To install flake8, do the following:

  1. Install Python and pip (Python 3 requires pip3).

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

# For python2
   [sudo] pip install flake8

   # For python 3
   [sudo] pip3 install flake8

In order for flake8 to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover troubleshooting PATH configuration.

Settings

Additional settings for SublimeLinter-flake8:

Setting Description
@python A meta setting that indicates the python version of your source files. Use this inline or at the global level, not within the linter’s settings.
builtins A comma-separated string with external names that should be considered defined (e.g. “foo,bar”)
show-code Displays the flake8 error code in the message, False by default.

Please use flake8 configuration (via config files or inline comments).