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 62K
  • Win 22K
  • OS X 23K
  • Linux 17K
Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26
Windows 9 33 31 42 56 50 45 46 32 31 47 56 42 61 48 31 32 49 43 47 45 30 37 29 35 48 43 35 46 22 36 55 60 35 48 51 32 35 54 58 37 52 51 34 26 38
OS X 2 20 13 11 29 28 27 27 14 19 23 25 16 18 30 11 9 17 23 25 27 19 15 11 28 17 31 31 18 13 19 15 24 30 20 26 15 15 22 31 24 31 26 8 11 23
Linux 2 21 13 19 26 26 30 19 13 9 22 24 26 26 25 13 15 17 24 18 23 26 10 22 28 22 24 20 18 10 8 18 24 23 15 18 17 4 19 19 26 36 16 17 21 25

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.