Skip to content

Instantly share code, notes, and snippets.

@wadewilliams
Last active August 29, 2015 14:06
Show Gist options
  • Save wadewilliams/3b9fc10fb291c4c68c8c to your computer and use it in GitHub Desktop.
Save wadewilliams/3b9fc10fb291c4c68c8c to your computer and use it in GitHub Desktop.
Sublime Flake8Lint settings
{
// debug mode (verbose output to ST python console)
"debug": false,
// run flake8 lint on file saving
"lint_on_save": true,
// run flake8 lint on file loading
"lint_on_load": false,
// popup a dialog of detected conditions?
"popup": true,
// highlight detected conditions?
"highlight": true,
// show a mark in the gutter on all lines with errors/warnings:
// - "dot", "circle" or "bookmark" to show marks
// - "" (empty string) to do not show marks
"gutter_marks": "",
// report successfull (passed) lint
"report_on_success": false,
// load global flake8 config ("~/.config/flake8")
"use_flake8_global_config": true,
// load per-project config (i.e. "tox.ini", "setup.cfg" and ".pep8" files)
"use_flake8_project_config": true,
// set python interpreter (lint files for python >= 2.7):
// - 'internal' for use internal Sublime Text 2 interpreter (2.6)
// - 'auto' for search default system python interpreter (default value)
// - absolute path to python interpreter for define another one
// use platform specific notation, i.e. "C:\\Anaconda\\envs\\py33\\python.exe"
// for Windows or then "/home/whatever/pythondist/python" for Unix
"python_interpreter": "auto",
// list of python built-in functions (like '_')
"builtins": [],
// turn on pyflakes error lint
"pyflakes": true,
// turn on pep8 error lint
"pep8": true,
// turn off complexity check (set number > 0 to check complexity level)
"complexity": -1,
// set desired max line length
"pep8_max_line_length": 90,
// select errors and warnings (e.g. ["E", "W6"])
"select": [],
// skip errors and warnings (e.g. ["E303", E4", "W"])
"ignore": ["E128", "E221", "E241", "E501", "F403", "W391"],
// files to ignore, for example: ["*.mako", "test*.py"]
"ignore_files": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment