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 58K
  • Win 20K
  • OS X 22K
  • Linux 16K
Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1
Windows 16 53 20 28 34 56 47 35 40 30 37 28 34 22 35 33 35 34 44 46 39 43 30 36 21 33 39 72 53 41 26 34 46 40 56 36 47 24 25 46 48 49 47 30 27 26
OS X 2 19 12 5 13 31 26 27 19 9 15 15 29 36 29 23 19 11 24 27 27 32 21 10 16 18 26 35 17 23 7 18 27 24 28 26 31 15 13 23 24 41 30 18 17 8
Linux 2 20 17 13 15 16 18 28 16 17 4 17 14 13 20 18 12 12 23 16 14 24 25 11 21 20 13 25 25 27 8 14 20 26 24 26 27 17 18 21 25 30 26 11 14 10

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.