-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsublime-package.json
78 lines (78 loc) · 2.4 KB
/
sublime-package.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
{
"contributions": {
"settings": [
{
"file_patterns": [
"python-black.sublime-settings"
],
"schema": {
"$id": "sublime://settings/python-black",
"properties": {
"format_on_save": {
"type": [
"string"
],
"default": "on",
"enum": [
"on",
"off",
"smart"
],
"markdownDescription": "Whether to **automatically format** the entire document when saving."
},
"options": {
"type": "object",
"properties": {
"target_version": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true,
"markdownDescription": "Python versions that should be supported by Black's output."
},
"line_length": {
"type": "integer",
"markdownDescription": "How many characters per line to allow."
},
"is_pyi": {
"type": "boolean",
"markdownDescription": "Format all input files like typing stubs regardless of file extension (useful when piping source on standard input)."
},
"skip_source_first_line": {
"type": "boolean",
"markdownDescription": "Skip the first line of the source code."
},
"skip_string_normalization": {
"type": "boolean",
"markdownDescription": "Don't normalize string quotes or prefixes."
},
"skip_magic_trailing_comma": {
"type": "boolean",
"markdownDescription": "Don't use trailing commas as a reason to split lines."
}
},
"markdownDescription": "black options"
}
}
}
},
{
"file_patterns": [
"/*.sublime-project"
],
"schema": {
"properties": {
"settings": {
"properties": {
"python-black": {
"$ref": "sublime://settings/python-black"
}
}
}
}
}
}
]
}
}