-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
120 lines (120 loc) · 3.41 KB
/
extension.json
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"identifier": "cc.aeron.nova-flake8",
"name": "Flake8",
"organization": "Aeron",
"description": "Flake8, a tool to check the style and quality of Python code, for Nova.",
"version": "1.0.2",
"categories": [
"issues",
"commands"
],
"repository": "https://github.com/Aeron/Flake8.novaextension",
"bugs": "https://github.com/Aeron/Flake8.novaextension/issues",
"license": "Apache-2.0",
"main": "main.js",
"activationEvents": [
"onLanguage:python"
],
"entitlements": {
"process": true,
"filesystem": "readonly"
},
"commands": {
"editor": [
{
"title": "Check with Flake8",
"command": "checkWithFlake8",
"shortcut": "shift-cmd-8",
"filters": {
"syntaxes": [
"python"
]
}
}
]
},
"issueMatchers": {
"flake8": {
"pattern": {
"regexp": "^([0-9]+):([0-9]+)\\s([A-Z0-9]+)\\s(.*)",
"message": 4,
"code": 3,
"line": 1,
"column": 2,
"severity": "hint"
}
}
},
"config": [
{
"key": "cc.aeron.nova-flake8.executablePath",
"title": "Executable Path",
"description": "Path to the Flake8 executable.",
"type": "path",
"default": "/usr/local/bin/flake8"
},
{
"key": "cc.aeron.nova-flake8.commandArguments",
"title": "Command Arguments",
"description": "Additional arguments. The --format option always set.",
"type": "string",
"default": null
},
{
"key": "cc.aeron.nova-flake8.checkMode",
"title": "Check Mode",
"description": "An event on which to perform a check.",
"type": "enum",
"values": [
[
"onChange",
"On a file change"
],
[
"onSave",
"On a file save"
],
[
"-",
"Command only"
]
],
"default": "onChange"
}
],
"configWorkspace": [
{
"key": "cc.aeron.nova-flake8.executablePath",
"title": "Executable Path",
"description": "Path to the Flake8 executable.",
"type": "path",
"placeholder": "/usr/local/bin/flake8"
},
{
"key": "cc.aeron.nova-flake8.commandArguments",
"title": "Command Arguments",
"description": "Additional arguments. The --format option is always set.",
"type": "string"
},
{
"key": "cc.aeron.nova-flake8.checkMode",
"title": "Check Mode",
"description": "An event on which to perform a check.",
"type": "enum",
"values": [
[
"onChange",
"On a file change"
],
[
"onSave",
"On a file save"
],
[
"-",
"Command only"
]
]
}
]
}