|
1 | 1 | { |
2 | | - "identifier": "is.flother.Blake", |
3 | | - "name": "Blake", |
4 | | - "organization": "Flother", |
5 | | - "description": "Lint your Python source code with Flake8, format it with Black", |
6 | | - "version": "0.6.0", |
7 | | - "categories": ["issues", "formatters", "commands"], |
8 | | - "homepage": "https://extensions.panic.com/extensions/is.flother/is.flother.Blake/", |
9 | | - "repository": "https://github.com/flother/Blake.novaextension", |
10 | | - "bugs": "https://github.com/flother/Blake.novaextension/issues", |
11 | | - "license": "MIT", |
12 | | - "main": "main.js", |
13 | | - "activationEvents": [ |
14 | | - "onLanguage:python" |
15 | | - ], |
16 | | - "entitlements": { |
17 | | - "process": true |
18 | | - }, |
19 | | - "commands": { |
20 | | - "editor": [ |
21 | | - { |
22 | | - "title": "Format Source Code with Black", |
23 | | - "command": "formatSourceCodeWithBlack", |
24 | | - "shortcut": "cmd-shift-B", |
25 | | - "filters": { |
26 | | - "syntaxes": ["python"] |
27 | | - } |
28 | | - } |
29 | | - ] |
| 2 | + "identifier": "is.flother.Blake", |
| 3 | + "name": "Blake", |
| 4 | + "organization": "Flother", |
| 5 | + "description": "Lint your Python source code with Flake8, format it with Black", |
| 6 | + "version": "0.6.0", |
| 7 | + "categories": ["issues", "formatters", "commands"], |
| 8 | + "homepage": "https://extensions.panic.com/extensions/is.flother/is.flother.Blake/", |
| 9 | + "repository": "https://github.com/flother/Blake.novaextension", |
| 10 | + "bugs": "https://github.com/flother/Blake.novaextension/issues", |
| 11 | + "license": "MIT", |
| 12 | + "main": "main.js", |
| 13 | + "activationEvents": ["onLanguage:python"], |
| 14 | + "entitlements": { |
| 15 | + "process": true |
| 16 | + }, |
| 17 | + "commands": { |
| 18 | + "editor": [ |
| 19 | + { |
| 20 | + "title": "Format Source Code with Black", |
| 21 | + "command": "formatSourceCodeWithBlack", |
| 22 | + "shortcut": "cmd-shift-B", |
| 23 | + "filters": { |
| 24 | + "syntaxes": ["python"] |
| 25 | + } |
| 26 | + } |
| 27 | + ] |
| 28 | + }, |
| 29 | + "configWorkspace": [ |
| 30 | + { |
| 31 | + "title": "Flake8", |
| 32 | + "type": "section", |
| 33 | + "children": [ |
| 34 | + { |
| 35 | + "key": "is.flother.Blake.flake8ExecutablePath", |
| 36 | + "title": "Executable path", |
| 37 | + "description": "Path to this workspace's Flake8 executable", |
| 38 | + "type": "path", |
| 39 | + "placeholder": "/usr/bin/env flake8" |
| 40 | + } |
| 41 | + ] |
30 | 42 | }, |
31 | | - "configWorkspace": [ |
| 43 | + { |
| 44 | + "title": "Black", |
| 45 | + "type": "section", |
| 46 | + "children": [ |
| 47 | + { |
| 48 | + "key": "is.flother.Blake.blackExecutablePath", |
| 49 | + "title": "Executable path", |
| 50 | + "description": "Path to this workspace's Black executable", |
| 51 | + "type": "path", |
| 52 | + "placeholder": "/usr/bin/env black" |
| 53 | + }, |
32 | 54 | { |
33 | | - "title": "Flake8", |
34 | | - "type": "section", |
35 | | - "children": [ |
36 | | - { |
37 | | - "key": "is.flother.Blake.flake8ExecutablePath", |
38 | | - "title": "Executable path", |
39 | | - "description": "Path to this workspace's Flake8 executable", |
40 | | - "type": "path", |
41 | | - "placeholder": "/usr/bin/env flake8" |
42 | | - } |
43 | | - ] |
| 55 | + "key": "is.flother.Blake.maxLineLength", |
| 56 | + "title": "Max line length", |
| 57 | + "type": "number", |
| 58 | + "placeholder": 88 |
44 | 59 | }, |
45 | 60 | { |
46 | | - "title": "Black", |
47 | | - "type": "section", |
48 | | - "children": [ |
49 | | - { |
50 | | - "key": "is.flother.Blake.blackExecutablePath", |
51 | | - "title": "Executable path", |
52 | | - "description": "Path to this workspace's Black executable", |
53 | | - "type": "path", |
54 | | - "placeholder": "/usr/bin/env black" |
55 | | - }, |
56 | | - { |
57 | | - "key": "is.flother.Blake.maxLineLength", |
58 | | - "title": "Max line length", |
59 | | - "type": "number", |
60 | | - "placeholder": 88 |
61 | | - }, |
62 | | - { |
63 | | - "key": "is.flother.Blake.formatOnSave", |
64 | | - "title": "Format Python source code files on save", |
65 | | - "type": "boolean", |
66 | | - "default": false |
67 | | - } |
68 | | - ] |
| 61 | + "key": "is.flother.Blake.formatOnSave", |
| 62 | + "title": "Format Python source code files on save", |
| 63 | + "type": "boolean", |
| 64 | + "default": false |
69 | 65 | } |
70 | | - ] |
| 66 | + ] |
| 67 | + } |
| 68 | + ] |
71 | 69 | } |
0 commit comments