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 66K
  • Win 24K
  • OS X 24K
  • Linux 18K
Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 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
Windows 22 32 32 26 20 15 35 26 34 32 27 26 17 21 32 35 17 20 14 16 21 34 39 45 30 18 19 46 60 35 42 37 29 23 26 29 45 37 34 13 0 1 54 48 49 40
OS X 20 23 24 28 23 13 18 17 24 27 21 12 9 26 25 23 14 20 15 8 16 21 26 28 19 15 16 23 23 13 19 20 12 21 25 32 27 20 33 12 0 1 33 26 34 33
Linux 14 18 23 26 11 13 16 21 27 19 22 16 16 12 17 18 18 13 15 8 17 13 15 25 17 6 8 29 17 27 25 21 15 16 18 13 14 21 15 4 0 1 26 20 14 31

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.