-
Notifications
You must be signed in to change notification settings - Fork 58
/
Flake8Lint.sublime-settings
92 lines (76 loc) · 3 KB
/
Flake8Lint.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
// 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,
// run lint in live mode: lint file (without popup) every XXX ms
// please, be careful: this may cause performance issues on ST2
"live_mode": false,
// set live mode lint delay, in milliseconds
"live_mode_lint_delay": 1000,
// set ruler guide based on max line length setting
"set_ruler_guide": false,
// popup a dialog of detected conditions?
"popup": true,
// highlight detected conditions?
"highlight": true,
// highlight type:
// - "line" to highlight whole line
// - "error" to highlight error only
"highlight_type": "error",
// color values to highlight detected conditions
"highlight_color_critical": "#981600",
"highlight_color_error": "#DA2000",
"highlight_color_warning": "#EDBA00",
// show a mark in the gutter on all lines with errors/warnings:
// - "dot", "circle" or "bookmark" to show marks
// - "theme-alpha", "theme-bright", "theme-dark", "theme-hard" or "theme-simple" to show icon marks
// - "" (empty string) to do not show marks
"gutter_marks": "theme-simple",
// report successfull (passed) lint
"report_on_success": false,
// blink gutter marks on success (will not blink with live mode check)
// this icon is not depends on 'gutter_marks' settings
// please, be careful: this may cause performance issues on ST2
"blink_gutter_marks_on_success": true,
// 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 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 on pydocstyle error lint
"pydocstyle": true,
// turn on naming error lint
"naming": true,
// turn on debugger error lint
"debugger": true,
// turn on import order error lint
"import-order": false,
// import order style: "cryptography" or "google"
// See also: https://github.com/public/flake8-import-order#configuration
"import-order-style": "cryptography",
// turn off complexity check (set number > 0 to check complexity level)
"complexity": -1,
// set desired max line length
"pep8_max_line_length": 79,
// select errors and warnings (e.g. ["E", "W6"])
"select": [],
// skip errors and warnings (e.g. ["E303", "E4", "W"])
"ignore": [],
// files to ignore, for example: ["*.mako", "test*.py"]
"ignore_files": []
}