pre-commit-bigfix 2.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,412 @@
1
+ lexClass:
2
+ name = global
3
+ parent:file = <*.ActionScript>
4
+
5
+ lexClass:
6
+ name = comment
7
+ parent = global
8
+ start:tag ='//'
9
+ skip:Tag = '\\\r\n', '\\\n\r', '\\\n', '\\\r'
10
+ end:separators = @eol
11
+ txt:colorFG = 0x00A000
12
+ DisplayName = 'Comment (Single-Line)'
13
+
14
+ lexClass:
15
+ name = string
16
+ parent:dyn = global
17
+ start:Tag = '"'
18
+ skip:Tag = '\\"', '\\\r\n', '\\\n\r', '\\\n', '\\\r'
19
+ end:Tag = '"', @eol
20
+ txt:colorFG = 0xE00000
21
+ DisplayName = 'String (Double Quotes)'
22
+
23
+ lexClass:
24
+ name = relevance
25
+ parent:dyn = global
26
+ children = url
27
+ start:Tag = '{'
28
+ skip:Tag = '\\"', '\\\r\n', '\\\n\r', '\\\n', '\\\r'
29
+ end:Tag = '}', @eol
30
+ txt:colorFG = 0xff00ff
31
+ DisplayName = 'String (Double Quotes)'
32
+
33
+ lexClass:
34
+ name = url
35
+ parent:dyn = global
36
+ previous:tag = @specs, ' ', '\t', @eol
37
+ start:Tag = 'http:'
38
+ end:separators = ' ', '\t', '*', '"', @eol
39
+ txt:colorBK = 0xC0FFC0
40
+ txt:Underline = 1
41
+ DisplayName = 'URL'
42
+
43
+ lexClass:
44
+ name = download_now_as
45
+ parent = global
46
+ previous:tag = @eol
47
+ token:tag = 'download now as'
48
+ txt:colorFG = 0x0000FF
49
+
50
+ lexClass:
51
+ name = download_as
52
+ parent = global
53
+ previous:tag = @eol
54
+ token:tag = 'download as'
55
+ txt:colorFG = 0x0000FF
56
+
57
+ lexClass:
58
+ name = download
59
+ parent = global
60
+ previous:tag = @eol
61
+ token:tag = 'download'
62
+ txt:colorFG = 0x0000FF
63
+
64
+ lexClass:
65
+ name = setting_delete
66
+ parent = global
67
+ previous:tag = @eol
68
+ token:tag = 'setting delete'
69
+ txt:colorFG = 0x0000FF
70
+
71
+ lexClass:
72
+ name = setting
73
+ parent = global
74
+ previous:tag = @eol
75
+ token:tag = 'setting'
76
+ txt:colorFG = 0x0000FF
77
+
78
+ lexClass:
79
+ name = keywords
80
+ ParseOnScreen = 0
81
+ parent = global
82
+ children = 0
83
+ DisplayName = 'Keyword'
84
+
85
+ token:tag = 'delete'
86
+ token:tag = 'copy'
87
+ token:tag = 'move'
88
+ token:tag = 'regset64'
89
+ token:tag = 'regdelete64'
90
+ token:tag = 'script64'
91
+ token:tag = 'regset'
92
+ token:tag = 'regdelete'
93
+ token:tag = 'fixlet delete'
94
+ token:tag = 'pause while'
95
+ token:tag = 'enable gathering'
96
+ token:tag = 'fixlet close'
97
+ token:tag = 'fixlet restore'
98
+ token:tag = 'browse to'
99
+ token:tag = 'dos'
100
+ token:tag = 'runhidden'
101
+ token:tag = 'waithidden'
102
+ token:tag = 'rundetached'
103
+ token:tag = 'waitdetached'
104
+ token:tag = 'run'
105
+ token:tag = 'wait'
106
+ token:tag = 'script'
107
+ token:tag = 'open'
108
+ token:tag = 'appendfile'
109
+ token:tag = 'unsubscribe'
110
+ token:tag = 'module delete'
111
+ token:tag = 'module add'
112
+ token:tag = 'module commit'
113
+ token:tag = 'site force evaluation'
114
+ token:tag = 'site gather schedule publisher'
115
+ token:tag = 'site gather schedule manual'
116
+ token:tag = 'site gather schedule disable'
117
+ token:tag = 'site gather schedule seconds'
118
+ token:tag = 'continue if'
119
+ token:tag = 'set clock'
120
+ token:tag = 'restart'
121
+ token:tag = 'shutdown'
122
+ token:tag = 'action lock until'
123
+ token:tag = 'action lock indefinite'
124
+ token:tag = 'action unlock'
125
+ token:tag = 'action requires restart'
126
+ token:tag = 'action may require restart'
127
+ token:tag = 'action requires login'
128
+ token:tag = 'action parameter query'
129
+ token:tag = 'administrator add'
130
+ token:tag = 'administrator delete'
131
+ token:tag = 'administrative rights enable'
132
+ token:tag = 'administrative rights disable'
133
+ token:tag = 'subscribe'
134
+ token:tag = 'relay select'
135
+ token:tag = 'archive now'
136
+ token:tag = 'extract'
137
+ token:tag = 'utility'
138
+ token:tag = 'if'
139
+ token:tag = 'elseif'
140
+ token:tag = 'else'
141
+ token:tag = 'endif'
142
+ token:tag = 'parameter'
143
+ token:tag = 'createfile until'
144
+ token:tag = 'prefetch'
145
+ token:tag = 'custom site subscribe'
146
+ token:tag = 'custom site unsubscribe'
147
+ token:tag = 'action uses wow64 redirection'
148
+ token:tag = 'action launch preference low-priority'
149
+ token:tag = 'action launch preference normal-priority'
150
+ token:tag = 'notify client'
151
+ token:tag = 'begin prefetch block'
152
+ token:tag = 'add nohash prefetch item'
153
+ token:tag = 'add prefetch item'
154
+ token:tag = 'collect prefetch items'
155
+ token:tag = 'execute prefetch plug-in'
156
+ token:tag = 'end prefetch block'
157
+ token:tag = 'folder create'
158
+ token:tag = 'folder delete'
159
+ token:tag = 'exit'
160
+ token:tag = 'override run'
161
+ token:tag = 'override wait'
162
+ token:tag = 'client restart'
163
+ token:tag = 'action log command'
164
+ token:tag = 'action log all'
165
+ token:tag = 'quarantine'
166
+ token:tag = 'reset a2a agent'
167
+ token:tag = 'agent interface'
168
+ token:tag = 'action uses file encoding'
169
+
170
+ token:tag = 'binary name delete'
171
+ token:tag = 'binary name copy'
172
+ token:tag = 'binary name move'
173
+ token:tag = 'binary name folder create'
174
+ token:tag = 'binary name folder delete'
175
+
176
+ token:tag = 'regkeydelete'
177
+ token:tag = 'regkeydelete64'
178
+
179
+ token:tag = 'plugin store'
180
+
181
+ token:tag = 'client certificate refresh'
182
+
183
+ token:start:separators = ' ', '\t', ':', ';', '!', '(', ')', ',', '/', '{', '}', @eol
184
+ token:end:separators = ' ', '\t', ':', ';', '!', '(', ')', '{', '}', @eol
185
+
186
+ txt:colorFG = 0x0000FF
187
+ token:tag = 'activate lpar'
188
+ token:tag = 'add disk to lpar'
189
+ token:tag = 'add new group'
190
+ token:tag = 'add policy'
191
+ token:tag = 'add to enabled blacklist'
192
+ token:tag = 'add to install blacklist'
193
+ token:tag = 'add to uninstall blacklist'
194
+ token:tag = 'allow email access'
195
+ token:tag = 'append apps'
196
+ token:tag = 'append apps without notification'
197
+ token:tag = 'approve in messaging system'
198
+ token:tag = 'assign exchange policy'
199
+ token:tag = 'associate app vpn'
200
+ token:tag = 'audit lpar netboot'
201
+ token:tag = 'block in messaging system'
202
+ token:tag = 'bulk app upload'
203
+ token:tag = 'bulk enroll'
204
+ token:tag = 'cancel selective wipe'
205
+ token:tag = 'cancel wipe'
206
+ token:tag = 'change policy'
207
+ token:tag = 'change vlan'
208
+ token:tag = 'check osd context'
209
+ token:tag = 'check profile'
210
+ token:tag = 'check scripting task'
211
+ token:tag = 'chmod'
212
+ token:tag = 'clear credentials store'
213
+ token:tag = 'clear enabled blacklist'
214
+ token:tag = 'clear install blacklist'
215
+ token:tag = 'clear passcode'
216
+ token:tag = 'clear policy'
217
+ token:tag = 'clear restrictions password'
218
+ token:tag = 'clear uninstall blacklist'
219
+ token:tag = 'clear wifi ssid'
220
+ token:tag = 'clone vm to template'
221
+ token:tag = 'configure extender'
222
+ token:tag = 'configure nim client'
223
+ token:tag = 'convert vm to template'
224
+ token:tag = 'create configs'
225
+ token:tag = 'create exchange policy'
226
+ token:tag = 'create linux vm from template'
227
+ token:tag = 'create lpar'
228
+ token:tag = 'create lpar profile'
229
+ token:tag = 'create mksysb image'
230
+ token:tag = 'create snapshot'
231
+ token:tag = 'create vm from ISO'
232
+ token:tag = 'create windows vm from template'
233
+ token:tag = 'deactivate lpar'
234
+ token:tag = 'deallocate instance'
235
+ token:tag = 'decrypt file'
236
+ token:tag = 'delete device'
237
+ token:tag = 'delete enterprise app'
238
+ token:tag = 'delete group'
239
+ token:tag = 'delete lpar'
240
+ token:tag = 'delete policy'
241
+ token:tag = 'delete profile'
242
+ token:tag = 'delete tag'
243
+ token:tag = 'delete vm'
244
+ token:tag = 'deny email access'
245
+ token:tag = 'deploy profile'
246
+ token:tag = 'deprovision redemption codes'
247
+ token:tag = 'disable external storage encryption'
248
+ token:tag = 'disable internal storage encryption'
249
+ token:tag = 'disable lost mode'
250
+ token:tag = 'disassociate app vpn'
251
+ token:tag = 'enable external storage encryption'
252
+ token:tag = 'enable internal storage encryption'
253
+ token:tag = 'enable lost mode'
254
+ token:tag = 'enter maintenance mode'
255
+ token:tag = 'erase device'
256
+ token:tag = 'exit maintenance mode'
257
+ token:tag = 'force password change'
258
+ token:tag = 'force sync'
259
+ token:tag = 'force user change password'
260
+ token:tag = 'go to snapshot'
261
+ token:tag = 'import certificate'
262
+ token:tag = 'import enrollment questions'
263
+ token:tag = 'import redemption codes'
264
+ token:tag = 'initialize patch action'
265
+ token:tag = 'install agent'
266
+ token:tag = 'install app'
267
+ token:tag = 'install application'
268
+ token:tag = 'install appstore application'
269
+ token:tag = 'install certificate'
270
+ token:tag = 'install encrypted profile'
271
+ token:tag = 'install enterprise application'
272
+ token:tag = 'install profile'
273
+ token:tag = 'install provisioning profile'
274
+ token:tag = 'ios setting'
275
+ token:tag = 'iso refresh'
276
+ token:tag = 'launch intent activity'
277
+ token:tag = 'launch intent service'
278
+ token:tag = 'list exchange policy'
279
+ token:tag = 'locate device'
280
+ token:tag = 'lock container'
281
+ token:tag = 'lock device'
282
+ token:tag = 'lock screen'
283
+ token:tag = 'maas360 refresh'
284
+ token:tag = 'modify group'
285
+ token:tag = 'modify lpar profile'
286
+ token:tag = 'modify policy'
287
+ token:tag = 'modify vm'
288
+ token:tag = 'mount tools'
289
+ token:tag = 'move user to group'
290
+ token:tag = 'netboot lpar'
291
+ token:tag = 'offer apps'
292
+ token:tag = 'offer apps without notification'
293
+ token:tag = 'osd command'
294
+ token:tag = 'play lost mode sound'
295
+ token:tag = 'power off hard'
296
+ token:tag = 'power off soft'
297
+ token:tag = 'power on'
298
+ token:tag = 'provision redemption codes'
299
+ token:tag = 'push enterprise app'
300
+ token:tag = 'push link'
301
+ token:tag = 'push message'
302
+ token:tag = 'rad command'
303
+ token:tag = 'reboot host'
304
+ token:tag = 'reenroll'
305
+ token:tag = 'refresh'
306
+ token:tag = 'refresh device'
307
+ token:tag = 'remove'
308
+ token:tag = 'remove access point name'
309
+ token:tag = 'remove all snapshots'
310
+ token:tag = 'remove app'
311
+ token:tag = 'remove app built in configuration'
312
+ token:tag = 'remove application'
313
+ token:tag = 'remove appstore application'
314
+ token:tag = 'remove certificate'
315
+ token:tag = 'remove enterprise vpn profile'
316
+ token:tag = 'remove exchange account'
317
+ token:tag = 'remove exchange policy'
318
+ token:tag = 'remove from email server'
319
+ token:tag = 'remove from enabled blacklist'
320
+ token:tag = 'remove from install blacklist'
321
+ token:tag = 'remove from mailbox server'
322
+ token:tag = 'remove from uninstall blacklist'
323
+ token:tag = 'remove nim client'
324
+ token:tag = 'remove organization info'
325
+ token:tag = 'remove patch window'
326
+ token:tag = 'remove profile'
327
+ token:tag = 'remove provisioning profile'
328
+ token:tag = 'remove redemption codes'
329
+ token:tag = 'remove snapshot'
330
+ token:tag = 'remove vpn profile'
331
+ token:tag = 'remove wifi profile'
332
+ token:tag = 'rename snapshot'
333
+ token:tag = 'report device location'
334
+ token:tag = 'request authentication'
335
+ token:tag = 'reset'
336
+ token:tag = 'reset passcode'
337
+ token:tag = 'reset password'
338
+ token:tag = 'restart device'
339
+ token:tag = 'restart instance'
340
+ token:tag = 'revert snapshot'
341
+ token:tag = 'schedule os update'
342
+ token:tag = 'schedule os update scan'
343
+ token:tag = 'selective wipe'
344
+ token:tag = 'selectively wipe'
345
+ token:tag = 'selectively wipe nitrodesk touchdown'
346
+ token:tag = 'send email message'
347
+ token:tag = 'send log file'
348
+ token:tag = 'send message'
349
+ token:tag = 'send pin message'
350
+ token:tag = 'set'
351
+ token:tag = 'set access point name'
352
+ token:tag = 'set app built in configuration'
353
+ token:tag = 'set bluetooth policy'
354
+ token:tag = 'set browser policy'
355
+ token:tag = 'set bulk'
356
+ token:tag = 'set custom attribute'
357
+ token:tag = 'set default access'
358
+ token:tag = 'set default access point name'
359
+ token:tag = 'set device restrictions'
360
+ token:tag = 'set enabled blacklist'
361
+ token:tag = 'set enterprise vpn profile'
362
+ token:tag = 'set exchange account'
363
+ token:tag = 'set install blacklist'
364
+ token:tag = 'set kiosk policy'
365
+ token:tag = 'set max devices'
366
+ token:tag = 'set organization info'
367
+ token:tag = 'set policy'
368
+ token:tag = 'set refresh interval'
369
+ token:tag = 'set roaming policy'
370
+ token:tag = 'set security policy'
371
+ token:tag = 'set tag'
372
+ token:tag = 'set target'
373
+ token:tag = 'set touchdown configuration'
374
+ token:tag = 'set touchdown policies'
375
+ token:tag = 'set uninstall blacklist'
376
+ token:tag = 'set vpn profile'
377
+ token:tag = 'set web clip'
378
+ token:tag = 'set wifi profile'
379
+ token:tag = 'set wifi ssid'
380
+ token:tag = 'setup nim client'
381
+ token:tag = 'shut down device'
382
+ token:tag = 'shutdown host'
383
+ token:tag = 'silently install'
384
+ token:tag = 'silently uninstall'
385
+ token:tag = 'silently upgrade'
386
+ token:tag = 'start beacon'
387
+ token:tag = 'start instance'
388
+ token:tag = 'start scripting task'
389
+ token:tag = 'stop beacon'
390
+ token:tag = 'stop force instance'
391
+ token:tag = 'stop instance'
392
+ token:tag = 'suspend hard'
393
+ token:tag = 'suspend soft'
394
+ token:tag = 'test connection'
395
+ token:tag = 'transfer schedule'
396
+ token:tag = 'unenroll'
397
+ token:tag = 'unoffer apps'
398
+ token:tag = 'update enrollment profile'
399
+ token:tag = 'update sms address'
400
+ token:tag = 'upgrade tools'
401
+ token:tag = 'upload enterprise app'
402
+ token:tag = 'vlan power on'
403
+ token:tag = 'wipe'
404
+ token:tag = 'wipe agent data'
405
+ token:tag = 'wipe blackberry data'
406
+ token:tag = 'wipe container'
407
+ token:tag = 'wipe device'
408
+ token:tag = 'wipe disk'
409
+ token:tag = 'wipe internal storage'
410
+ token:tag = 'wipe sd card'
411
+ token:tag = 'wipe traveler data'
412
+
@@ -0,0 +1,43 @@
1
+ // Supplements ExpandedActionScript.schclass for validation use.
2
+ //
3
+ // The vendored base file is the BigFix console's display grammar and is tuned
4
+ // for highlighting, not validation: its `url` lexClass only matches `http:`,
5
+ // and the console's per-operator generator drops `surrender device id` (see
6
+ // jgstew/pre-commit-bigfix#3). Corrections belong HERE, never in the vendored
7
+ // base file, which must stay byte-exact with the console's output.
8
+
9
+ // The base url class does not end at '}', so an unquoted URL inside a {...}
10
+ // substitution would swallow the closing brace and falsely leave the
11
+ // substitution unterminated; add '}' to the end separators for both schemes.
12
+ lexClass:
13
+ name = url
14
+ end:separators = ' ', '\t', '*', '"', '}', @eol
15
+
16
+ lexClass:
17
+ name = url_https
18
+ parent:dyn = global
19
+ previous:tag = @specs, ' ', '\t', @eol
20
+ start:Tag = 'https:'
21
+ end:separators = ' ', '\t', '*', '"', '}', @eol
22
+ txt:colorBK = 0xC0FFC0
23
+ txt:Underline = 1
24
+ DisplayName = 'URL (https)'
25
+
26
+ lexClass:
27
+ name = keywords
28
+ token:tag = 'surrender device id'
29
+
30
+ // ActionScript has no escape character: the base string class's '\\"' skip
31
+ // (a display-grammar convenience) made a closed string like "C:\Bes\" or
32
+ // "__Download\" look unterminated (W301). Drop it and keep the
33
+ // backslash-newline continuations. See jgstew/pre-commit-bigfix#16.
34
+ lexClass:
35
+ name = string
36
+ skip:Tag = '\\\r\n', '\\\n\r', '\\\n', '\\\r'
37
+
38
+ // `override run` / `override wait` option lines (`hidden=true`) are NOT added
39
+ // here as token:tags. Their values may be {...} relevance substitutions, and
40
+ // they are only legal inside an override block -- neither is expressible in a
41
+ // lexical grammar, so the whole construct is handled as line state in
42
+ // bes_actionscript_lint_schclass.py (E303/W303), the way `createfile until`
43
+ // block content already is.