-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathCheck Python Syntax.plist
More file actions
42 lines (40 loc) · 1.14 KB
/
Check Python Syntax.plist
File metadata and controls
42 lines (40 loc) · 1.14 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>saveActiveFile</string>
<key>capturePattern</key>
<string>^(.*)\s+line:\s+(\d+)\s+col:\s+(\d+).*$</string>
<key>columnCaptureRegister</key>
<string>3</string>
<key>command</key>
<string>#!/bin/bash
TPY=${TM_PYTHON:-"/usr/bin/python"}
"$TPY" "$TM_BUNDLE_SUPPORT/bin/pycheckmate.py" "$TM_FILEPATH"</string>
<key>fileCaptureRegister</key>
<string>1</string>
<key>input</key>
<string>none</string>
<key>inputFormat</key>
<string>text</string>
<key>keyEquivalent</key>
<string>^V</string>
<key>lineCaptureRegister</key>
<string>2</string>
<key>name</key>
<string>Validate Syntax (PyCheckMate)</string>
<key>outputCaret</key>
<string>afterOutput</string>
<key>outputFormat</key>
<string>html</string>
<key>outputLocation</key>
<string>newWindow</string>
<key>scope</key>
<string>source.python</string>
<key>uuid</key>
<string>44C9C59C-89F9-11D9-9326-000D93B6E43C</string>
<key>version</key>
<integer>2</integer>
</dict>
</plist>