File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version =" 1.0" >
4
+ <dict >
5
+ <key >beforeRunningCommand </key >
6
+ <string >nop </string >
7
+ <key >command </key >
8
+ <string >#!/bin/bash
9
+
10
+ . "$TM_SUPPORT_PATH/lib/bash_init.sh"
11
+
12
+ yapf_output=`"${TM_YAPF:-yapf}" --style="${TM_YAPF_STYLE:-pep8}" < /dev/stdin`
13
+ exit_status=$?
14
+
15
+ if [ $exit_status -ne 0 ]; then
16
+ exit_show_tool_tip "$yapf_output"
17
+ fi
18
+
19
+ echo "$yapf_output" </string >
20
+ <key >input </key >
21
+ <string >selection </string >
22
+ <key >inputFormat </key >
23
+ <string >text </string >
24
+ <key >keyEquivalent </key >
25
+ <string >^H </string >
26
+ <key >name </key >
27
+ <string >Reformat Document </string >
28
+ <key >outputCaret </key >
29
+ <string >interpolateByChar </string >
30
+ <key >outputFormat </key >
31
+ <string >text </string >
32
+ <key >outputLocation </key >
33
+ <string >replaceInput </string >
34
+ <key >requiredCommands </key >
35
+ <array >
36
+ <dict >
37
+ <key >command </key >
38
+ <string >yapf </string >
39
+ <key >locations </key >
40
+ <array >
41
+ <string >$HOME/.pyenv/shims/yapf </string >
42
+ <string >/usr/local/bin/yapf </string >
43
+ </array >
44
+ </dict >
45
+ </array >
46
+ <key >scope </key >
47
+ <string >source.python </string >
48
+ <key >uuid </key >
49
+ <string >CA6F6269-AD9D-46DB-A9A1-7A9987C4E6EA </string >
50
+ <key >version </key >
51
+ <integer >2 </integer >
52
+ </dict >
53
+ </plist >
Original file line number Diff line number Diff line change 32
32
<string >504278F6-89F4-11D9-9326-000D93B6E43C </string >
33
33
<string >09E7930D-E706-4C90-B37E-5B95E1D97949 </string >
34
34
<string >44C9C59C-89F9-11D9-9326-000D93B6E43C </string >
35
+ <string >CA6F6269-AD9D-46DB-A9A1-7A9987C4E6EA </string >
35
36
<string >95FFEECE-73E4-4B33-9CAE-1641C62FFBC0 </string >
36
37
<string >------------------------------------ </string >
37
38
<string >095E8342-FAED-4B95-A229-E245B0B601A7 </string >
You can’t perform that action at this time.
0 commit comments