Skip to content

Instantly share code, notes, and snippets.

@ericgreene
Created August 9, 2013 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericgreene/6197003 to your computer and use it in GitHub Desktop.
Save ericgreene/6197003 to your computer and use it in GitHub Desktop.
Settings for sublime flake8 lint package.
{
// run flake8 lint on file saving
"lint_on_save": true,
// popup a dialog of detected conditions?
"popup": true,
// highlight detected conditions?
"highlight": 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
"python_interpreter": "auto",
// 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": 119,
// select errors and warnings (e.g. ["E", "W6"])
"select": [],
//skip errors and warnings (e.g. ["E303", E4", "W"])
"ignore": ["E226","E24","E128","E127","E123","E126"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment