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 71K
  • Win 27K
  • OS X 25K
  • Linux 19K
May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6
Windows 14 25 22 29 31 28 27 31 29 22 25 45 39 41 41 32 29 21 30 27 24 28 32 24 17 40 45 36 70 38 19 26 32 35 31 31 25 26 20 34 42 41 33 25 25 38
OS X 3 17 14 15 24 18 24 25 31 8 18 20 19 22 25 19 13 16 12 27 15 25 20 15 7 16 15 26 30 23 13 13 11 24 21 22 29 13 16 19 24 25 19 38 13 21
Linux 3 21 13 12 19 20 25 20 13 4 12 23 22 19 29 18 13 12 13 14 10 19 25 13 15 27 20 20 27 16 14 5 20 24 20 20 22 15 15 24 19 21 22 27 10 15

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-flake8

Build Status

This linter plugin for SublimeLinter provides an interface to flake8.

Installation

SublimeLinter must be installed in order to use this plugin.

Install via Package Control or git clone as usual.

Ensure that a flake8 is actually installed somewhere on your system. Typically, pip install flake8 on the command line will do that.

If you want to use a globally installed flake, make sure that it is available on the PATH. Before going any further, please read and follow the steps in “Finding a linter executable” through “Validating your PATH” in the documentation.

Otherwise configure “executable” or the “python” setting.

If you use pipenv, and you're working on a project with a Pipfile, everything should be automatic.

Settings

Additional setting:

  • 'ignore_fixables' (Default: True): Filter warnings that Sublime can fix automatically (e.g. trailing white-space) on save.

SublimeLinter-flake8 works with common flake8 configuration files and inline overrides. Note that, by default the working dir is set to an open folder attached to the current window of Sublime. This is of importance if your config files are located in a subfolder for example.

Use “args” if you want to set some arguments just like on the command line.