Created
January 30, 2013 16:52
-
-
Save bubenkoff/4674609 to your computer and use it in GitHub Desktop.
Flake8Lint config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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": 120, | |
// select errors and warnings (e.g. ["E", "W6"]) | |
"select": [], | |
//skip errors and warnings (e.g. ["E303", E4", "W"]) | |
"ignore": ["E128", "E712"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've set complexity to 10 (seems to be reasonable level looking at some of the paylogic codebase)
And I've only ignored E711 (SQLAlchemy), I guess I should add the E712, but I think E128 is a good one too.