Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
SublimeLinter plugin for python, using flake8.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
messages Update update message Sep 24, 2018
.flake8
.gitattributes Update Git metadata Dec 29, 2017
.gitignore Update Git metadata Dec 29, 2017
.travis.yml just flake8 @ python 3.6 Mar 1, 2018
LICENSE Completed package. Dec 15, 2013
README.md Update README Sep 20, 2018
linter.py Handle F403 and mark the '*' Nov 28, 2018
messages.json

README.md

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.

You can’t perform that action at this time.