coc-pyright 1.1.400 → 1.1.405
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.
- package/lib/index.js +31840 -96370
- package/package.json +1110 -192
package/package.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coc-pyright",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.405",
|
|
4
4
|
"description": "Pyright extension for coc.nvim, static type checker for Python",
|
|
5
5
|
"author": "Heyward Fann <fannheyward@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "lib/index.js",
|
|
8
|
-
"keywords": [
|
|
8
|
+
"keywords": [
|
|
9
|
+
"coc.nvim",
|
|
10
|
+
"python",
|
|
11
|
+
"pyright"
|
|
12
|
+
],
|
|
9
13
|
"engines": {
|
|
10
14
|
"coc": "^0.0.80"
|
|
11
15
|
},
|
|
@@ -30,18 +34,17 @@
|
|
|
30
34
|
"prepare": "node esbuild.mjs"
|
|
31
35
|
},
|
|
32
36
|
"devDependencies": {
|
|
33
|
-
"@biomejs/biome": "
|
|
37
|
+
"@biomejs/biome": "2.2.2",
|
|
34
38
|
"@types/diff-match-patch": "^1.0.36",
|
|
35
39
|
"@types/md5": "^2.3.5",
|
|
36
|
-
"@types/minimatch": "^5.1.2",
|
|
37
40
|
"@types/node": "16",
|
|
38
41
|
"@types/which": "^3.0.4",
|
|
39
|
-
"@zzzen/pyright-internal": "^1.2.0-dev.
|
|
42
|
+
"@zzzen/pyright-internal": "^1.2.0-dev.20250907",
|
|
40
43
|
"coc.nvim": "^0.0.83-next.18",
|
|
41
44
|
"diff-match-patch": "^1.0.5",
|
|
42
45
|
"esbuild": "^0.25.0",
|
|
43
46
|
"get-port": "^7.1.0",
|
|
44
|
-
"iconv-lite": "^0.
|
|
47
|
+
"iconv-lite": "^0.7.0",
|
|
45
48
|
"md5": "^2.3.0",
|
|
46
49
|
"minimatch": "^10.0.1",
|
|
47
50
|
"named-js-regexp": "^1.3.5",
|
|
@@ -148,7 +151,10 @@
|
|
|
148
151
|
"python.analysis.diagnosticMode": {
|
|
149
152
|
"type": "string",
|
|
150
153
|
"default": "openFilesOnly",
|
|
151
|
-
"enum": [
|
|
154
|
+
"enum": [
|
|
155
|
+
"openFilesOnly",
|
|
156
|
+
"workspace"
|
|
157
|
+
],
|
|
152
158
|
"enumDescriptions": [
|
|
153
159
|
"Analyzes and reports errors on only open files.",
|
|
154
160
|
"Analyzes and reports errors on all files in the workspace."
|
|
@@ -188,490 +194,1300 @@
|
|
|
188
194
|
"scope": "resource",
|
|
189
195
|
"properties": {
|
|
190
196
|
"reportGeneralTypeIssues": {
|
|
191
|
-
"type": [
|
|
197
|
+
"type": [
|
|
198
|
+
"string",
|
|
199
|
+
"boolean"
|
|
200
|
+
],
|
|
192
201
|
"description": "Diagnostics for general type inconsistencies, unsupported operations, argument/parameter mismatches, etc. Covers all of the basic type-checking rules not covered by other rules. Does not include syntax errors.",
|
|
193
202
|
"default": "error",
|
|
194
|
-
"enum": [
|
|
203
|
+
"enum": [
|
|
204
|
+
"none",
|
|
205
|
+
"information",
|
|
206
|
+
"warning",
|
|
207
|
+
"error",
|
|
208
|
+
true,
|
|
209
|
+
false
|
|
210
|
+
]
|
|
195
211
|
},
|
|
196
212
|
"reportPropertyTypeMismatch": {
|
|
197
|
-
"type": [
|
|
213
|
+
"type": [
|
|
214
|
+
"string",
|
|
215
|
+
"boolean"
|
|
216
|
+
],
|
|
198
217
|
"description": "Diagnostics for property whose setter and getter have mismatched types.",
|
|
199
218
|
"default": "none",
|
|
200
|
-
"enum": [
|
|
219
|
+
"enum": [
|
|
220
|
+
"none",
|
|
221
|
+
"information",
|
|
222
|
+
"warning",
|
|
223
|
+
"error",
|
|
224
|
+
true,
|
|
225
|
+
false
|
|
226
|
+
]
|
|
201
227
|
},
|
|
202
228
|
"reportFunctionMemberAccess": {
|
|
203
|
-
"type": [
|
|
229
|
+
"type": [
|
|
230
|
+
"string",
|
|
231
|
+
"boolean"
|
|
232
|
+
],
|
|
204
233
|
"description": "Diagnostics for member accesses on functions.",
|
|
205
234
|
"default": "error",
|
|
206
|
-
"enum": [
|
|
235
|
+
"enum": [
|
|
236
|
+
"none",
|
|
237
|
+
"information",
|
|
238
|
+
"warning",
|
|
239
|
+
"error",
|
|
240
|
+
true,
|
|
241
|
+
false
|
|
242
|
+
]
|
|
207
243
|
},
|
|
208
244
|
"reportMissingImports": {
|
|
209
|
-
"type": [
|
|
245
|
+
"type": [
|
|
246
|
+
"string",
|
|
247
|
+
"boolean"
|
|
248
|
+
],
|
|
210
249
|
"description": "Diagnostics for imports that have no corresponding imported python file or type stub file.",
|
|
211
250
|
"default": "error",
|
|
212
|
-
"enum": [
|
|
251
|
+
"enum": [
|
|
252
|
+
"none",
|
|
253
|
+
"information",
|
|
254
|
+
"warning",
|
|
255
|
+
"error",
|
|
256
|
+
true,
|
|
257
|
+
false
|
|
258
|
+
]
|
|
213
259
|
},
|
|
214
260
|
"reportMissingModuleSource": {
|
|
215
|
-
"type": [
|
|
261
|
+
"type": [
|
|
262
|
+
"string",
|
|
263
|
+
"boolean"
|
|
264
|
+
],
|
|
216
265
|
"description": "Diagnostics for imports that have no corresponding source file. This happens when a type stub is found, but the module source file was not found, indicating that the code may fail at runtime when using this execution environment. Type checking will be done using the type stub.",
|
|
217
266
|
"default": "warning",
|
|
218
|
-
"enum": [
|
|
267
|
+
"enum": [
|
|
268
|
+
"none",
|
|
269
|
+
"information",
|
|
270
|
+
"warning",
|
|
271
|
+
"error",
|
|
272
|
+
true,
|
|
273
|
+
false
|
|
274
|
+
]
|
|
219
275
|
},
|
|
220
276
|
"reportInvalidTypeForm": {
|
|
221
|
-
"type": [
|
|
277
|
+
"type": [
|
|
278
|
+
"string",
|
|
279
|
+
"boolean"
|
|
280
|
+
],
|
|
222
281
|
"description": "Diagnostics for type expression that uses an invalid form.",
|
|
223
282
|
"default": "error",
|
|
224
|
-
"enum": [
|
|
283
|
+
"enum": [
|
|
284
|
+
"none",
|
|
285
|
+
"information",
|
|
286
|
+
"warning",
|
|
287
|
+
"error",
|
|
288
|
+
true,
|
|
289
|
+
false
|
|
290
|
+
]
|
|
225
291
|
},
|
|
226
292
|
"reportMissingTypeStubs": {
|
|
227
|
-
"type": [
|
|
293
|
+
"type": [
|
|
294
|
+
"string",
|
|
295
|
+
"boolean"
|
|
296
|
+
],
|
|
228
297
|
"description": "Diagnostics for imports that have no corresponding type stub file (either a typeshed file or a custom type stub). The type checker requires type stubs to do its best job at analysis.",
|
|
229
298
|
"default": "none",
|
|
230
|
-
"enum": [
|
|
299
|
+
"enum": [
|
|
300
|
+
"none",
|
|
301
|
+
"information",
|
|
302
|
+
"warning",
|
|
303
|
+
"error",
|
|
304
|
+
true,
|
|
305
|
+
false
|
|
306
|
+
]
|
|
231
307
|
},
|
|
232
308
|
"reportImportCycles": {
|
|
233
|
-
"type": [
|
|
309
|
+
"type": [
|
|
310
|
+
"string",
|
|
311
|
+
"boolean"
|
|
312
|
+
],
|
|
234
313
|
"description": "Diagnostics for cyclical import chains. These are not errors in Python, but they do slow down type analysis and often hint at architectural layering issues. Generally, they should be avoided.",
|
|
235
314
|
"default": "none",
|
|
236
|
-
"enum": [
|
|
315
|
+
"enum": [
|
|
316
|
+
"none",
|
|
317
|
+
"information",
|
|
318
|
+
"warning",
|
|
319
|
+
"error",
|
|
320
|
+
true,
|
|
321
|
+
false
|
|
322
|
+
]
|
|
237
323
|
},
|
|
238
324
|
"reportUnusedImport": {
|
|
239
|
-
"type": [
|
|
325
|
+
"type": [
|
|
326
|
+
"string",
|
|
327
|
+
"boolean"
|
|
328
|
+
],
|
|
240
329
|
"description": "Diagnostics for an imported symbol that is not referenced within that file.",
|
|
241
330
|
"default": "none",
|
|
242
|
-
"enum": [
|
|
331
|
+
"enum": [
|
|
332
|
+
"none",
|
|
333
|
+
"information",
|
|
334
|
+
"warning",
|
|
335
|
+
"error",
|
|
336
|
+
true,
|
|
337
|
+
false
|
|
338
|
+
]
|
|
243
339
|
},
|
|
244
340
|
"reportUnusedClass": {
|
|
245
|
-
"type": [
|
|
341
|
+
"type": [
|
|
342
|
+
"string",
|
|
343
|
+
"boolean"
|
|
344
|
+
],
|
|
246
345
|
"description": "Diagnostics for a class with a private name (starting with an underscore) that is not accessed.",
|
|
247
346
|
"default": "none",
|
|
248
|
-
"enum": [
|
|
347
|
+
"enum": [
|
|
348
|
+
"none",
|
|
349
|
+
"information",
|
|
350
|
+
"warning",
|
|
351
|
+
"error",
|
|
352
|
+
true,
|
|
353
|
+
false
|
|
354
|
+
]
|
|
249
355
|
},
|
|
250
356
|
"reportUnusedFunction": {
|
|
251
|
-
"type": [
|
|
357
|
+
"type": [
|
|
358
|
+
"string",
|
|
359
|
+
"boolean"
|
|
360
|
+
],
|
|
252
361
|
"description": "Diagnostics for a function or method with a private name (starting with an underscore) that is not accessed.",
|
|
253
362
|
"default": "none",
|
|
254
|
-
"enum": [
|
|
363
|
+
"enum": [
|
|
364
|
+
"none",
|
|
365
|
+
"information",
|
|
366
|
+
"warning",
|
|
367
|
+
"error",
|
|
368
|
+
true,
|
|
369
|
+
false
|
|
370
|
+
]
|
|
255
371
|
},
|
|
256
372
|
"reportUnusedVariable": {
|
|
257
|
-
"type": [
|
|
373
|
+
"type": [
|
|
374
|
+
"string",
|
|
375
|
+
"boolean"
|
|
376
|
+
],
|
|
258
377
|
"description": "Diagnostics for a variable that is not accessed.",
|
|
259
378
|
"default": "none",
|
|
260
|
-
"enum": [
|
|
379
|
+
"enum": [
|
|
380
|
+
"none",
|
|
381
|
+
"information",
|
|
382
|
+
"warning",
|
|
383
|
+
"error",
|
|
384
|
+
true,
|
|
385
|
+
false
|
|
386
|
+
]
|
|
261
387
|
},
|
|
262
388
|
"reportDuplicateImport": {
|
|
263
|
-
"type": [
|
|
389
|
+
"type": [
|
|
390
|
+
"string",
|
|
391
|
+
"boolean"
|
|
392
|
+
],
|
|
264
393
|
"description": "Diagnostics for an imported symbol or module that is imported more than once.",
|
|
265
394
|
"default": "none",
|
|
266
|
-
"enum": [
|
|
395
|
+
"enum": [
|
|
396
|
+
"none",
|
|
397
|
+
"information",
|
|
398
|
+
"warning",
|
|
399
|
+
"error",
|
|
400
|
+
true,
|
|
401
|
+
false
|
|
402
|
+
]
|
|
267
403
|
},
|
|
268
404
|
"reportWildcardImportFromLibrary": {
|
|
269
|
-
"type": [
|
|
405
|
+
"type": [
|
|
406
|
+
"string",
|
|
407
|
+
"boolean"
|
|
408
|
+
],
|
|
270
409
|
"description": "Diagnostics for an wildcard import from an external library.",
|
|
271
410
|
"default": "warning",
|
|
272
|
-
"enum": [
|
|
411
|
+
"enum": [
|
|
412
|
+
"none",
|
|
413
|
+
"information",
|
|
414
|
+
"warning",
|
|
415
|
+
"error",
|
|
416
|
+
true,
|
|
417
|
+
false
|
|
418
|
+
]
|
|
273
419
|
},
|
|
274
420
|
"reportAbstractUsage": {
|
|
275
|
-
"type": [
|
|
421
|
+
"type": [
|
|
422
|
+
"string",
|
|
423
|
+
"boolean"
|
|
424
|
+
],
|
|
276
425
|
"description": "Diagnostics for an attempt to instantiate an abstract or protocol class or use an abstract method.",
|
|
277
426
|
"default": "error",
|
|
278
|
-
"enum": [
|
|
427
|
+
"enum": [
|
|
428
|
+
"none",
|
|
429
|
+
"information",
|
|
430
|
+
"warning",
|
|
431
|
+
"error",
|
|
432
|
+
true,
|
|
433
|
+
false
|
|
434
|
+
]
|
|
279
435
|
},
|
|
280
436
|
"reportArgumentType": {
|
|
281
|
-
"type": [
|
|
437
|
+
"type": [
|
|
438
|
+
"string",
|
|
439
|
+
"boolean"
|
|
440
|
+
],
|
|
282
441
|
"description": "Diagnostics for a type incompatibility for an argument to a call.",
|
|
283
442
|
"default": "error",
|
|
284
|
-
"enum": [
|
|
443
|
+
"enum": [
|
|
444
|
+
"none",
|
|
445
|
+
"information",
|
|
446
|
+
"warning",
|
|
447
|
+
"error",
|
|
448
|
+
true,
|
|
449
|
+
false
|
|
450
|
+
]
|
|
285
451
|
},
|
|
286
452
|
"reportAssertTypeFailure": {
|
|
287
|
-
"type": [
|
|
453
|
+
"type": [
|
|
454
|
+
"string",
|
|
455
|
+
"boolean"
|
|
456
|
+
],
|
|
288
457
|
"description": "Diagnostics for a type incompatibility detected by a typing.assert_type call.",
|
|
289
458
|
"default": "error",
|
|
290
|
-
"enum": [
|
|
459
|
+
"enum": [
|
|
460
|
+
"none",
|
|
461
|
+
"information",
|
|
462
|
+
"warning",
|
|
463
|
+
"error",
|
|
464
|
+
true,
|
|
465
|
+
false
|
|
466
|
+
]
|
|
291
467
|
},
|
|
292
468
|
"reportAssignmentType": {
|
|
293
|
-
"type": [
|
|
469
|
+
"type": [
|
|
470
|
+
"string",
|
|
471
|
+
"boolean"
|
|
472
|
+
],
|
|
294
473
|
"description": "Diagnostics for type incompatibilities for assignments.",
|
|
295
474
|
"default": "error",
|
|
296
|
-
"enum": [
|
|
475
|
+
"enum": [
|
|
476
|
+
"none",
|
|
477
|
+
"information",
|
|
478
|
+
"warning",
|
|
479
|
+
"error",
|
|
480
|
+
true,
|
|
481
|
+
false
|
|
482
|
+
]
|
|
297
483
|
},
|
|
298
484
|
"reportAttributeAccessIssue": {
|
|
299
|
-
"type": [
|
|
485
|
+
"type": [
|
|
486
|
+
"string",
|
|
487
|
+
"boolean"
|
|
488
|
+
],
|
|
300
489
|
"description": "Diagnostics for issues involving attribute accesses.",
|
|
301
490
|
"default": "error",
|
|
302
|
-
"enum": [
|
|
491
|
+
"enum": [
|
|
492
|
+
"none",
|
|
493
|
+
"information",
|
|
494
|
+
"warning",
|
|
495
|
+
"error",
|
|
496
|
+
true,
|
|
497
|
+
false
|
|
498
|
+
]
|
|
303
499
|
},
|
|
304
500
|
"reportCallIssue": {
|
|
305
|
-
"type": [
|
|
501
|
+
"type": [
|
|
502
|
+
"string",
|
|
503
|
+
"boolean"
|
|
504
|
+
],
|
|
306
505
|
"description": "Diagnostics for issues involving call expressions and arguments.",
|
|
307
506
|
"default": "error",
|
|
308
|
-
"enum": [
|
|
507
|
+
"enum": [
|
|
508
|
+
"none",
|
|
509
|
+
"information",
|
|
510
|
+
"warning",
|
|
511
|
+
"error",
|
|
512
|
+
true,
|
|
513
|
+
false
|
|
514
|
+
]
|
|
309
515
|
},
|
|
310
516
|
"reportInconsistentOverload": {
|
|
311
|
-
"type": [
|
|
517
|
+
"type": [
|
|
518
|
+
"string",
|
|
519
|
+
"boolean"
|
|
520
|
+
],
|
|
312
521
|
"description": "Diagnostics for inconsistencies between function overload signatures and implementation.",
|
|
313
522
|
"default": "error",
|
|
314
|
-
"enum": [
|
|
523
|
+
"enum": [
|
|
524
|
+
"none",
|
|
525
|
+
"information",
|
|
526
|
+
"warning",
|
|
527
|
+
"error",
|
|
528
|
+
true,
|
|
529
|
+
false
|
|
530
|
+
]
|
|
315
531
|
},
|
|
316
532
|
"reportIndexIssue": {
|
|
317
|
-
"type": [
|
|
533
|
+
"type": [
|
|
534
|
+
"string",
|
|
535
|
+
"boolean"
|
|
536
|
+
],
|
|
318
537
|
"description": "Diagnostics related to index operations and expressions.",
|
|
319
538
|
"default": "error",
|
|
320
|
-
"enum": [
|
|
539
|
+
"enum": [
|
|
540
|
+
"none",
|
|
541
|
+
"information",
|
|
542
|
+
"warning",
|
|
543
|
+
"error",
|
|
544
|
+
true,
|
|
545
|
+
false
|
|
546
|
+
]
|
|
321
547
|
},
|
|
322
548
|
"reportInvalidTypeArguments": {
|
|
323
|
-
"type": [
|
|
549
|
+
"type": [
|
|
550
|
+
"string",
|
|
551
|
+
"boolean"
|
|
552
|
+
],
|
|
324
553
|
"description": "Diagnostics for invalid type argument usage.",
|
|
325
554
|
"default": "error",
|
|
326
|
-
"enum": [
|
|
555
|
+
"enum": [
|
|
556
|
+
"none",
|
|
557
|
+
"information",
|
|
558
|
+
"warning",
|
|
559
|
+
"error",
|
|
560
|
+
true,
|
|
561
|
+
false
|
|
562
|
+
]
|
|
327
563
|
},
|
|
328
564
|
"reportNoOverloadImplementation": {
|
|
329
|
-
"type": [
|
|
565
|
+
"type": [
|
|
566
|
+
"string",
|
|
567
|
+
"boolean"
|
|
568
|
+
],
|
|
330
569
|
"description": "Diagnostics for an overloaded function or method with a missing implementation.",
|
|
331
570
|
"default": "error",
|
|
332
|
-
"enum": [
|
|
571
|
+
"enum": [
|
|
572
|
+
"none",
|
|
573
|
+
"information",
|
|
574
|
+
"warning",
|
|
575
|
+
"error",
|
|
576
|
+
true,
|
|
577
|
+
false
|
|
578
|
+
]
|
|
333
579
|
},
|
|
334
580
|
"reportOperatorIssue": {
|
|
335
|
-
"type": [
|
|
581
|
+
"type": [
|
|
582
|
+
"string",
|
|
583
|
+
"boolean"
|
|
584
|
+
],
|
|
336
585
|
"description": "Diagnostics for related to unary or binary operators.",
|
|
337
586
|
"default": "error",
|
|
338
|
-
"enum": [
|
|
587
|
+
"enum": [
|
|
588
|
+
"none",
|
|
589
|
+
"information",
|
|
590
|
+
"warning",
|
|
591
|
+
"error",
|
|
592
|
+
true,
|
|
593
|
+
false
|
|
594
|
+
]
|
|
339
595
|
},
|
|
340
596
|
"reportOptionalSubscript": {
|
|
341
|
-
"type": [
|
|
597
|
+
"type": [
|
|
598
|
+
"string",
|
|
599
|
+
"boolean"
|
|
600
|
+
],
|
|
342
601
|
"description": "Diagnostics for an attempt to subscript (index) a variable with an Optional type.",
|
|
343
602
|
"default": "error",
|
|
344
|
-
"enum": [
|
|
603
|
+
"enum": [
|
|
604
|
+
"none",
|
|
605
|
+
"information",
|
|
606
|
+
"warning",
|
|
607
|
+
"error",
|
|
608
|
+
true,
|
|
609
|
+
false
|
|
610
|
+
]
|
|
345
611
|
},
|
|
346
612
|
"reportOptionalMemberAccess": {
|
|
347
|
-
"type": [
|
|
613
|
+
"type": [
|
|
614
|
+
"string",
|
|
615
|
+
"boolean"
|
|
616
|
+
],
|
|
348
617
|
"description": "Diagnostics for an attempt to access a member of a variable with an Optional type.",
|
|
349
618
|
"default": "error",
|
|
350
|
-
"enum": [
|
|
619
|
+
"enum": [
|
|
620
|
+
"none",
|
|
621
|
+
"information",
|
|
622
|
+
"warning",
|
|
623
|
+
"error",
|
|
624
|
+
true,
|
|
625
|
+
false
|
|
626
|
+
]
|
|
351
627
|
},
|
|
352
628
|
"reportOptionalCall": {
|
|
353
|
-
"type": [
|
|
629
|
+
"type": [
|
|
630
|
+
"string",
|
|
631
|
+
"boolean"
|
|
632
|
+
],
|
|
354
633
|
"description": "Diagnostics for an attempt to call a variable with an Optional type.",
|
|
355
634
|
"default": "error",
|
|
356
|
-
"enum": [
|
|
635
|
+
"enum": [
|
|
636
|
+
"none",
|
|
637
|
+
"information",
|
|
638
|
+
"warning",
|
|
639
|
+
"error",
|
|
640
|
+
true,
|
|
641
|
+
false
|
|
642
|
+
]
|
|
357
643
|
},
|
|
358
644
|
"reportOptionalIterable": {
|
|
359
|
-
"type": [
|
|
645
|
+
"type": [
|
|
646
|
+
"string",
|
|
647
|
+
"boolean"
|
|
648
|
+
],
|
|
360
649
|
"description": "Diagnostics for an attempt to use an Optional type as an iterable value (e.g. within a for statement).",
|
|
361
650
|
"default": "error",
|
|
362
|
-
"enum": [
|
|
651
|
+
"enum": [
|
|
652
|
+
"none",
|
|
653
|
+
"information",
|
|
654
|
+
"warning",
|
|
655
|
+
"error",
|
|
656
|
+
true,
|
|
657
|
+
false
|
|
658
|
+
]
|
|
363
659
|
},
|
|
364
660
|
"reportOptionalContextManager": {
|
|
365
|
-
"type": [
|
|
661
|
+
"type": [
|
|
662
|
+
"string",
|
|
663
|
+
"boolean"
|
|
664
|
+
],
|
|
366
665
|
"description": "Diagnostics for an attempt to use an Optional type as a context manager (as a parameter to a with statement).",
|
|
367
666
|
"default": "error",
|
|
368
|
-
"enum": [
|
|
667
|
+
"enum": [
|
|
668
|
+
"none",
|
|
669
|
+
"information",
|
|
670
|
+
"warning",
|
|
671
|
+
"error",
|
|
672
|
+
true,
|
|
673
|
+
false
|
|
674
|
+
]
|
|
369
675
|
},
|
|
370
676
|
"reportOptionalOperand": {
|
|
371
|
-
"type": [
|
|
372
|
-
|
|
677
|
+
"type": [
|
|
678
|
+
"string",
|
|
679
|
+
"boolean"
|
|
680
|
+
],
|
|
681
|
+
"description": "Diagnostics for an attempt to use an Optional type as an operand to a binary or unary operator (like '+', '<<', '~').",
|
|
373
682
|
"default": "error",
|
|
374
|
-
"enum": [
|
|
683
|
+
"enum": [
|
|
684
|
+
"none",
|
|
685
|
+
"information",
|
|
686
|
+
"warning",
|
|
687
|
+
"error",
|
|
688
|
+
true,
|
|
689
|
+
false
|
|
690
|
+
]
|
|
375
691
|
},
|
|
376
692
|
"reportRedeclaration": {
|
|
377
|
-
"type": [
|
|
693
|
+
"type": [
|
|
694
|
+
"string",
|
|
695
|
+
"boolean"
|
|
696
|
+
],
|
|
378
697
|
"description": "Diagnostics for an attempt to declare the type of a symbol multiple times.",
|
|
379
698
|
"default": "error",
|
|
380
|
-
"enum": [
|
|
699
|
+
"enum": [
|
|
700
|
+
"none",
|
|
701
|
+
"information",
|
|
702
|
+
"warning",
|
|
703
|
+
"error",
|
|
704
|
+
true,
|
|
705
|
+
false
|
|
706
|
+
]
|
|
381
707
|
},
|
|
382
708
|
"reportReturnType": {
|
|
383
|
-
"type": [
|
|
709
|
+
"type": [
|
|
710
|
+
"string",
|
|
711
|
+
"boolean"
|
|
712
|
+
],
|
|
384
713
|
"description": "Diagnostics related to function return type compatibility.",
|
|
385
714
|
"default": "error",
|
|
386
|
-
"enum": [
|
|
715
|
+
"enum": [
|
|
716
|
+
"none",
|
|
717
|
+
"information",
|
|
718
|
+
"warning",
|
|
719
|
+
"error",
|
|
720
|
+
true,
|
|
721
|
+
false
|
|
722
|
+
]
|
|
387
723
|
},
|
|
388
724
|
"reportTypedDictNotRequiredAccess": {
|
|
389
|
-
"type": [
|
|
725
|
+
"type": [
|
|
726
|
+
"string",
|
|
727
|
+
"boolean"
|
|
728
|
+
],
|
|
390
729
|
"description": "Diagnostics for an attempt to access a non-required key within a TypedDict without a check for its presence.",
|
|
391
730
|
"default": "error",
|
|
392
|
-
"enum": [
|
|
731
|
+
"enum": [
|
|
732
|
+
"none",
|
|
733
|
+
"information",
|
|
734
|
+
"warning",
|
|
735
|
+
"error",
|
|
736
|
+
true,
|
|
737
|
+
false
|
|
738
|
+
]
|
|
393
739
|
},
|
|
394
740
|
"reportUntypedFunctionDecorator": {
|
|
395
|
-
"type": [
|
|
741
|
+
"type": [
|
|
742
|
+
"string",
|
|
743
|
+
"boolean"
|
|
744
|
+
],
|
|
396
745
|
"description": "Diagnostics for function decorators that have no type annotations. These obscure the function type, defeating many type analysis features.",
|
|
397
746
|
"default": "none",
|
|
398
|
-
"enum": [
|
|
747
|
+
"enum": [
|
|
748
|
+
"none",
|
|
749
|
+
"information",
|
|
750
|
+
"warning",
|
|
751
|
+
"error",
|
|
752
|
+
true,
|
|
753
|
+
false
|
|
754
|
+
]
|
|
399
755
|
},
|
|
400
756
|
"reportUntypedClassDecorator": {
|
|
401
|
-
"type": [
|
|
757
|
+
"type": [
|
|
758
|
+
"string",
|
|
759
|
+
"boolean"
|
|
760
|
+
],
|
|
402
761
|
"description": "Diagnostics for class decorators that have no type annotations. These obscure the class type, defeating many type analysis features.",
|
|
403
762
|
"default": "none",
|
|
404
|
-
"enum": [
|
|
763
|
+
"enum": [
|
|
764
|
+
"none",
|
|
765
|
+
"information",
|
|
766
|
+
"warning",
|
|
767
|
+
"error",
|
|
768
|
+
true,
|
|
769
|
+
false
|
|
770
|
+
]
|
|
405
771
|
},
|
|
406
772
|
"reportUntypedBaseClass": {
|
|
407
|
-
"type": [
|
|
773
|
+
"type": [
|
|
774
|
+
"string",
|
|
775
|
+
"boolean"
|
|
776
|
+
],
|
|
408
777
|
"description": "Diagnostics for base classes whose type cannot be determined statically. These obscure the class type, defeating many type analysis features.",
|
|
409
778
|
"default": "none",
|
|
410
|
-
"enum": [
|
|
779
|
+
"enum": [
|
|
780
|
+
"none",
|
|
781
|
+
"information",
|
|
782
|
+
"warning",
|
|
783
|
+
"error",
|
|
784
|
+
true,
|
|
785
|
+
false
|
|
786
|
+
]
|
|
411
787
|
},
|
|
412
788
|
"reportUntypedNamedTuple": {
|
|
413
|
-
"type": [
|
|
789
|
+
"type": [
|
|
790
|
+
"string",
|
|
791
|
+
"boolean"
|
|
792
|
+
],
|
|
414
793
|
"description": "Diagnostics when “namedtuple” is used rather than “NamedTuple”. The former contains no type information, whereas the latter does.",
|
|
415
794
|
"default": "none",
|
|
416
|
-
"enum": [
|
|
795
|
+
"enum": [
|
|
796
|
+
"none",
|
|
797
|
+
"information",
|
|
798
|
+
"warning",
|
|
799
|
+
"error",
|
|
800
|
+
true,
|
|
801
|
+
false
|
|
802
|
+
]
|
|
417
803
|
},
|
|
418
804
|
"reportPrivateUsage": {
|
|
419
|
-
"type": [
|
|
805
|
+
"type": [
|
|
806
|
+
"string",
|
|
807
|
+
"boolean"
|
|
808
|
+
],
|
|
420
809
|
"description": "Diagnostics for incorrect usage of private or protected variables or functions. Protected class members begin with a single underscore _ and can be accessed only by subclasses. Private class members begin with a double underscore but do not end in a double underscore and can be accessed only within the declaring class. Variables and functions declared outside of a class are considered private if their names start with either a single or double underscore, and they cannot be accessed outside of the declaring module.",
|
|
421
810
|
"default": "none",
|
|
422
|
-
"enum": [
|
|
811
|
+
"enum": [
|
|
812
|
+
"none",
|
|
813
|
+
"information",
|
|
814
|
+
"warning",
|
|
815
|
+
"error",
|
|
816
|
+
true,
|
|
817
|
+
false
|
|
818
|
+
]
|
|
423
819
|
},
|
|
424
820
|
"reportTypeCommentUsage": {
|
|
425
|
-
"type": [
|
|
821
|
+
"type": [
|
|
822
|
+
"string",
|
|
823
|
+
"boolean"
|
|
824
|
+
],
|
|
426
825
|
"description": "Diagnostics for usage of deprecated type comments.",
|
|
427
826
|
"default": "none",
|
|
428
|
-
"enum": [
|
|
827
|
+
"enum": [
|
|
828
|
+
"none",
|
|
829
|
+
"information",
|
|
830
|
+
"warning",
|
|
831
|
+
"error",
|
|
832
|
+
true,
|
|
833
|
+
false
|
|
834
|
+
]
|
|
429
835
|
},
|
|
430
836
|
"reportPrivateImportUsage": {
|
|
431
|
-
"type": [
|
|
837
|
+
"type": [
|
|
838
|
+
"string",
|
|
839
|
+
"boolean"
|
|
840
|
+
],
|
|
432
841
|
"description": "Diagnostics for incorrect usage of symbol imported from a \"py.typed\" module that is not re-exported from that module.",
|
|
433
842
|
"default": "error",
|
|
434
|
-
"enum": [
|
|
843
|
+
"enum": [
|
|
844
|
+
"none",
|
|
845
|
+
"information",
|
|
846
|
+
"warning",
|
|
847
|
+
"error",
|
|
848
|
+
true,
|
|
849
|
+
false
|
|
850
|
+
]
|
|
435
851
|
},
|
|
436
852
|
"reportConstantRedefinition": {
|
|
437
|
-
"type": [
|
|
853
|
+
"type": [
|
|
854
|
+
"string",
|
|
855
|
+
"boolean"
|
|
856
|
+
],
|
|
438
857
|
"description": "Diagnostics for attempts to redefine variables whose names are all-caps with underscores and numerals.",
|
|
439
858
|
"default": "none",
|
|
440
|
-
"enum": [
|
|
859
|
+
"enum": [
|
|
860
|
+
"none",
|
|
861
|
+
"information",
|
|
862
|
+
"warning",
|
|
863
|
+
"error",
|
|
864
|
+
true,
|
|
865
|
+
false
|
|
866
|
+
]
|
|
441
867
|
},
|
|
442
868
|
"reportDeprecated": {
|
|
443
|
-
"type": [
|
|
869
|
+
"type": [
|
|
870
|
+
"string",
|
|
871
|
+
"boolean"
|
|
872
|
+
],
|
|
444
873
|
"description": "Diagnostics for use of deprecated classes or functions.",
|
|
445
874
|
"default": "none",
|
|
446
|
-
"enum": [
|
|
875
|
+
"enum": [
|
|
876
|
+
"none",
|
|
877
|
+
"information",
|
|
878
|
+
"warning",
|
|
879
|
+
"error",
|
|
880
|
+
true,
|
|
881
|
+
false
|
|
882
|
+
]
|
|
447
883
|
},
|
|
448
884
|
"reportIncompatibleMethodOverride": {
|
|
449
|
-
"type": [
|
|
885
|
+
"type": [
|
|
886
|
+
"string",
|
|
887
|
+
"boolean"
|
|
888
|
+
],
|
|
450
889
|
"description": "Diagnostics for methods that override a method of the same name in a base class in an incompatible manner (wrong number of parameters, incompatible parameter types, or incompatible return type).",
|
|
451
890
|
"default": "error",
|
|
452
|
-
"enum": [
|
|
891
|
+
"enum": [
|
|
892
|
+
"none",
|
|
893
|
+
"information",
|
|
894
|
+
"warning",
|
|
895
|
+
"error",
|
|
896
|
+
true,
|
|
897
|
+
false
|
|
898
|
+
]
|
|
453
899
|
},
|
|
454
900
|
"reportIncompatibleVariableOverride": {
|
|
455
|
-
"type": [
|
|
901
|
+
"type": [
|
|
902
|
+
"string",
|
|
903
|
+
"boolean"
|
|
904
|
+
],
|
|
456
905
|
"description": "Diagnostics for overrides in subclasses that redefine a variable in an incompatible way.",
|
|
457
906
|
"default": "error",
|
|
458
|
-
"enum": [
|
|
907
|
+
"enum": [
|
|
908
|
+
"none",
|
|
909
|
+
"information",
|
|
910
|
+
"warning",
|
|
911
|
+
"error",
|
|
912
|
+
true,
|
|
913
|
+
false
|
|
914
|
+
]
|
|
459
915
|
},
|
|
460
916
|
"reportInconsistentConstructor": {
|
|
461
|
-
"type": [
|
|
917
|
+
"type": [
|
|
918
|
+
"string",
|
|
919
|
+
"boolean"
|
|
920
|
+
],
|
|
462
921
|
"description": "Diagnostics for __init__ and __new__ methods whose signatures are inconsistent.",
|
|
463
922
|
"default": "none",
|
|
464
|
-
"enum": [
|
|
923
|
+
"enum": [
|
|
924
|
+
"none",
|
|
925
|
+
"information",
|
|
926
|
+
"warning",
|
|
927
|
+
"error",
|
|
928
|
+
true,
|
|
929
|
+
false
|
|
930
|
+
]
|
|
465
931
|
},
|
|
466
932
|
"reportOverlappingOverload": {
|
|
467
|
-
"type": [
|
|
933
|
+
"type": [
|
|
934
|
+
"string",
|
|
935
|
+
"boolean"
|
|
936
|
+
],
|
|
468
937
|
"description": "Diagnostics for function overloads that overlap in signature and obscure each other or have incompatible return types.",
|
|
469
938
|
"default": "error",
|
|
470
|
-
"enum": [
|
|
939
|
+
"enum": [
|
|
940
|
+
"none",
|
|
941
|
+
"information",
|
|
942
|
+
"warning",
|
|
943
|
+
"error",
|
|
944
|
+
true,
|
|
945
|
+
false
|
|
946
|
+
]
|
|
471
947
|
},
|
|
472
948
|
"reportPossiblyUnboundVariable": {
|
|
473
|
-
"type": [
|
|
949
|
+
"type": [
|
|
950
|
+
"string",
|
|
951
|
+
"boolean"
|
|
952
|
+
],
|
|
474
953
|
"description": "Diagnostics for the use of variables that may be unbound on some code paths.",
|
|
475
954
|
"default": "error",
|
|
476
|
-
"enum": [
|
|
955
|
+
"enum": [
|
|
956
|
+
"none",
|
|
957
|
+
"information",
|
|
958
|
+
"warning",
|
|
959
|
+
"error",
|
|
960
|
+
true,
|
|
961
|
+
false
|
|
962
|
+
]
|
|
477
963
|
},
|
|
478
964
|
"reportMissingSuperCall": {
|
|
479
|
-
"type": [
|
|
965
|
+
"type": [
|
|
966
|
+
"string",
|
|
967
|
+
"boolean"
|
|
968
|
+
],
|
|
480
969
|
"description": "Diagnostics for missing call to parent class for inherited `__init__` methods.",
|
|
481
970
|
"default": "none",
|
|
482
|
-
"enum": [
|
|
971
|
+
"enum": [
|
|
972
|
+
"none",
|
|
973
|
+
"information",
|
|
974
|
+
"warning",
|
|
975
|
+
"error",
|
|
976
|
+
true,
|
|
977
|
+
false
|
|
978
|
+
]
|
|
483
979
|
},
|
|
484
980
|
"reportUninitializedInstanceVariable": {
|
|
485
|
-
"type": [
|
|
981
|
+
"type": [
|
|
982
|
+
"string",
|
|
983
|
+
"boolean"
|
|
984
|
+
],
|
|
486
985
|
"description": "Diagnostics for instance variables that are not declared or initialized within class body or `__init__` method.",
|
|
487
986
|
"default": "none",
|
|
488
|
-
"enum": [
|
|
987
|
+
"enum": [
|
|
988
|
+
"none",
|
|
989
|
+
"information",
|
|
990
|
+
"warning",
|
|
991
|
+
"error",
|
|
992
|
+
true,
|
|
993
|
+
false
|
|
994
|
+
]
|
|
489
995
|
},
|
|
490
996
|
"reportInvalidStringEscapeSequence": {
|
|
491
|
-
"type": [
|
|
997
|
+
"type": [
|
|
998
|
+
"string",
|
|
999
|
+
"boolean"
|
|
1000
|
+
],
|
|
492
1001
|
"description": "Diagnostics for invalid escape sequences used within string literals. The Python specification indicates that such sequences will generate a syntax error in future versions.",
|
|
493
1002
|
"default": "warning",
|
|
494
|
-
"enum": [
|
|
1003
|
+
"enum": [
|
|
1004
|
+
"none",
|
|
1005
|
+
"information",
|
|
1006
|
+
"warning",
|
|
1007
|
+
"error",
|
|
1008
|
+
true,
|
|
1009
|
+
false
|
|
1010
|
+
]
|
|
495
1011
|
},
|
|
496
1012
|
"reportUnknownParameterType": {
|
|
497
|
-
"type": [
|
|
1013
|
+
"type": [
|
|
1014
|
+
"string",
|
|
1015
|
+
"boolean"
|
|
1016
|
+
],
|
|
498
1017
|
"description": "Diagnostics for input or return parameters for functions or methods that have an unknown type.",
|
|
499
1018
|
"default": "none",
|
|
500
|
-
"enum": [
|
|
1019
|
+
"enum": [
|
|
1020
|
+
"none",
|
|
1021
|
+
"information",
|
|
1022
|
+
"warning",
|
|
1023
|
+
"error",
|
|
1024
|
+
true,
|
|
1025
|
+
false
|
|
1026
|
+
]
|
|
501
1027
|
},
|
|
502
1028
|
"reportUnknownArgumentType": {
|
|
503
|
-
"type": [
|
|
1029
|
+
"type": [
|
|
1030
|
+
"string",
|
|
1031
|
+
"boolean"
|
|
1032
|
+
],
|
|
504
1033
|
"description": "Diagnostics for call arguments for functions or methods that have an unknown type.",
|
|
505
1034
|
"default": "none",
|
|
506
|
-
"enum": [
|
|
1035
|
+
"enum": [
|
|
1036
|
+
"none",
|
|
1037
|
+
"information",
|
|
1038
|
+
"warning",
|
|
1039
|
+
"error",
|
|
1040
|
+
true,
|
|
1041
|
+
false
|
|
1042
|
+
]
|
|
507
1043
|
},
|
|
508
1044
|
"reportUnknownLambdaType": {
|
|
509
|
-
"type": [
|
|
1045
|
+
"type": [
|
|
1046
|
+
"string",
|
|
1047
|
+
"boolean"
|
|
1048
|
+
],
|
|
510
1049
|
"description": "Diagnostics for input or return parameters for lambdas that have an unknown type.",
|
|
511
1050
|
"default": "none",
|
|
512
|
-
"enum": [
|
|
1051
|
+
"enum": [
|
|
1052
|
+
"none",
|
|
1053
|
+
"information",
|
|
1054
|
+
"warning",
|
|
1055
|
+
"error",
|
|
1056
|
+
true,
|
|
1057
|
+
false
|
|
1058
|
+
]
|
|
513
1059
|
},
|
|
514
1060
|
"reportUnknownVariableType": {
|
|
515
|
-
"type": [
|
|
1061
|
+
"type": [
|
|
1062
|
+
"string",
|
|
1063
|
+
"boolean"
|
|
1064
|
+
],
|
|
516
1065
|
"description": "Diagnostics for variables that have an unknown type..",
|
|
517
1066
|
"default": "none",
|
|
518
|
-
"enum": [
|
|
1067
|
+
"enum": [
|
|
1068
|
+
"none",
|
|
1069
|
+
"information",
|
|
1070
|
+
"warning",
|
|
1071
|
+
"error",
|
|
1072
|
+
true,
|
|
1073
|
+
false
|
|
1074
|
+
]
|
|
519
1075
|
},
|
|
520
1076
|
"reportUnknownMemberType": {
|
|
521
|
-
"type": [
|
|
1077
|
+
"type": [
|
|
1078
|
+
"string",
|
|
1079
|
+
"boolean"
|
|
1080
|
+
],
|
|
522
1081
|
"description": "Diagnostics for class or instance variables that have an unknown type.",
|
|
523
1082
|
"default": "none",
|
|
524
|
-
"enum": [
|
|
1083
|
+
"enum": [
|
|
1084
|
+
"none",
|
|
1085
|
+
"information",
|
|
1086
|
+
"warning",
|
|
1087
|
+
"error",
|
|
1088
|
+
true,
|
|
1089
|
+
false
|
|
1090
|
+
]
|
|
525
1091
|
},
|
|
526
1092
|
"reportMissingParameterType": {
|
|
527
|
-
"type": [
|
|
1093
|
+
"type": [
|
|
1094
|
+
"string",
|
|
1095
|
+
"boolean"
|
|
1096
|
+
],
|
|
528
1097
|
"description": "Diagnostics for parameters that are missing a type annotation.",
|
|
529
1098
|
"default": "none",
|
|
530
|
-
"enum": [
|
|
1099
|
+
"enum": [
|
|
1100
|
+
"none",
|
|
1101
|
+
"information",
|
|
1102
|
+
"warning",
|
|
1103
|
+
"error",
|
|
1104
|
+
true,
|
|
1105
|
+
false
|
|
1106
|
+
]
|
|
531
1107
|
},
|
|
532
1108
|
"reportMissingTypeArgument": {
|
|
533
|
-
"type": [
|
|
1109
|
+
"type": [
|
|
1110
|
+
"string",
|
|
1111
|
+
"boolean"
|
|
1112
|
+
],
|
|
534
1113
|
"description": "Diagnostics for generic class reference with missing type arguments.",
|
|
535
1114
|
"default": "none",
|
|
536
|
-
"enum": [
|
|
1115
|
+
"enum": [
|
|
1116
|
+
"none",
|
|
1117
|
+
"information",
|
|
1118
|
+
"warning",
|
|
1119
|
+
"error",
|
|
1120
|
+
true,
|
|
1121
|
+
false
|
|
1122
|
+
]
|
|
537
1123
|
},
|
|
538
1124
|
"reportInvalidTypeVarUse": {
|
|
539
|
-
"type": [
|
|
1125
|
+
"type": [
|
|
1126
|
+
"string",
|
|
1127
|
+
"boolean"
|
|
1128
|
+
],
|
|
540
1129
|
"description": "Diagnostics for improper use of type variables in a function signature.",
|
|
541
1130
|
"default": "warning",
|
|
542
|
-
"enum": [
|
|
1131
|
+
"enum": [
|
|
1132
|
+
"none",
|
|
1133
|
+
"information",
|
|
1134
|
+
"warning",
|
|
1135
|
+
"error",
|
|
1136
|
+
true,
|
|
1137
|
+
false
|
|
1138
|
+
]
|
|
543
1139
|
},
|
|
544
1140
|
"reportCallInDefaultInitializer": {
|
|
545
|
-
"type": [
|
|
1141
|
+
"type": [
|
|
1142
|
+
"string",
|
|
1143
|
+
"boolean"
|
|
1144
|
+
],
|
|
546
1145
|
"description": "Diagnostics for function calls within a default value initialization expression. Such calls can mask expensive operations that are performed at module initialization time.",
|
|
547
1146
|
"default": "none",
|
|
548
|
-
"enum": [
|
|
1147
|
+
"enum": [
|
|
1148
|
+
"none",
|
|
1149
|
+
"information",
|
|
1150
|
+
"warning",
|
|
1151
|
+
"error",
|
|
1152
|
+
true,
|
|
1153
|
+
false
|
|
1154
|
+
]
|
|
549
1155
|
},
|
|
550
1156
|
"reportUnnecessaryIsInstance": {
|
|
551
|
-
"type": [
|
|
1157
|
+
"type": [
|
|
1158
|
+
"string",
|
|
1159
|
+
"boolean"
|
|
1160
|
+
],
|
|
552
1161
|
"description": "Diagnostics for 'isinstance' or 'issubclass' calls where the result is statically determined to be always true. Such calls are often indicative of a programming error.",
|
|
553
1162
|
"default": "none",
|
|
554
|
-
"enum": [
|
|
1163
|
+
"enum": [
|
|
1164
|
+
"none",
|
|
1165
|
+
"information",
|
|
1166
|
+
"warning",
|
|
1167
|
+
"error",
|
|
1168
|
+
true,
|
|
1169
|
+
false
|
|
1170
|
+
]
|
|
555
1171
|
},
|
|
556
1172
|
"reportUnnecessaryCast": {
|
|
557
|
-
"type": [
|
|
1173
|
+
"type": [
|
|
1174
|
+
"string",
|
|
1175
|
+
"boolean"
|
|
1176
|
+
],
|
|
558
1177
|
"description": "Diagnostics for 'cast' calls that are statically determined to be unnecessary. Such calls are sometimes indicative of a programming error.",
|
|
559
1178
|
"default": "none",
|
|
560
|
-
"enum": [
|
|
1179
|
+
"enum": [
|
|
1180
|
+
"none",
|
|
1181
|
+
"information",
|
|
1182
|
+
"warning",
|
|
1183
|
+
"error",
|
|
1184
|
+
true,
|
|
1185
|
+
false
|
|
1186
|
+
]
|
|
561
1187
|
},
|
|
562
1188
|
"reportUnnecessaryComparison": {
|
|
563
|
-
"type": [
|
|
1189
|
+
"type": [
|
|
1190
|
+
"string",
|
|
1191
|
+
"boolean"
|
|
1192
|
+
],
|
|
564
1193
|
"description": "Diagnostics for '==' and '!=' comparisons that are statically determined to be unnecessary. Such calls are sometimes indicative of a programming error.",
|
|
565
1194
|
"default": "none",
|
|
566
|
-
"enum": [
|
|
1195
|
+
"enum": [
|
|
1196
|
+
"none",
|
|
1197
|
+
"information",
|
|
1198
|
+
"warning",
|
|
1199
|
+
"error",
|
|
1200
|
+
true,
|
|
1201
|
+
false
|
|
1202
|
+
]
|
|
567
1203
|
},
|
|
568
1204
|
"reportUnnecessaryContains": {
|
|
569
|
-
"type": [
|
|
1205
|
+
"type": [
|
|
1206
|
+
"string",
|
|
1207
|
+
"boolean"
|
|
1208
|
+
],
|
|
570
1209
|
"description": "Diagnostics for 'in' operation that is statically determined to be unnecessary. Such operations are sometimes indicative of a programming error.",
|
|
571
1210
|
"default": "none",
|
|
572
|
-
"enum": [
|
|
1211
|
+
"enum": [
|
|
1212
|
+
"none",
|
|
1213
|
+
"information",
|
|
1214
|
+
"warning",
|
|
1215
|
+
"error",
|
|
1216
|
+
true,
|
|
1217
|
+
false
|
|
1218
|
+
]
|
|
573
1219
|
},
|
|
574
1220
|
"reportAssertAlwaysTrue": {
|
|
575
|
-
"type": [
|
|
1221
|
+
"type": [
|
|
1222
|
+
"string",
|
|
1223
|
+
"boolean"
|
|
1224
|
+
],
|
|
576
1225
|
"description": "Diagnostics for 'assert' statement that will provably always assert. This can be indicative of a programming error.",
|
|
577
1226
|
"default": "warning",
|
|
578
|
-
"enum": [
|
|
1227
|
+
"enum": [
|
|
1228
|
+
"none",
|
|
1229
|
+
"information",
|
|
1230
|
+
"warning",
|
|
1231
|
+
"error",
|
|
1232
|
+
true,
|
|
1233
|
+
false
|
|
1234
|
+
]
|
|
579
1235
|
},
|
|
580
1236
|
"reportSelfClsParameterName": {
|
|
581
|
-
"type": [
|
|
1237
|
+
"type": [
|
|
1238
|
+
"string",
|
|
1239
|
+
"boolean"
|
|
1240
|
+
],
|
|
582
1241
|
"description": "Diagnostics for a missing or misnamed “self” parameter in instance methods and “cls” parameter in class methods. Instance methods in metaclasses (classes that derive from “type”) are allowed to use “cls” for instance methods.",
|
|
583
1242
|
"default": "warning",
|
|
584
|
-
"enum": [
|
|
1243
|
+
"enum": [
|
|
1244
|
+
"none",
|
|
1245
|
+
"information",
|
|
1246
|
+
"warning",
|
|
1247
|
+
"error",
|
|
1248
|
+
true,
|
|
1249
|
+
false
|
|
1250
|
+
]
|
|
585
1251
|
},
|
|
586
1252
|
"reportImplicitStringConcatenation": {
|
|
587
|
-
"type": [
|
|
1253
|
+
"type": [
|
|
1254
|
+
"string",
|
|
1255
|
+
"boolean"
|
|
1256
|
+
],
|
|
588
1257
|
"description": "Diagnostics for two or more string literals that follow each other, indicating an implicit concatenation. This is considered a bad practice and often masks bugs such as missing commas.",
|
|
589
1258
|
"default": "none",
|
|
590
|
-
"enum": [
|
|
1259
|
+
"enum": [
|
|
1260
|
+
"none",
|
|
1261
|
+
"information",
|
|
1262
|
+
"warning",
|
|
1263
|
+
"error",
|
|
1264
|
+
true,
|
|
1265
|
+
false
|
|
1266
|
+
]
|
|
591
1267
|
},
|
|
592
1268
|
"reportInvalidStubStatement": {
|
|
593
|
-
"type": [
|
|
1269
|
+
"type": [
|
|
1270
|
+
"string",
|
|
1271
|
+
"boolean"
|
|
1272
|
+
],
|
|
594
1273
|
"description": "Diagnostics for type stub statements that do not conform to PEP 484.",
|
|
595
1274
|
"default": "none",
|
|
596
|
-
"enum": [
|
|
1275
|
+
"enum": [
|
|
1276
|
+
"none",
|
|
1277
|
+
"information",
|
|
1278
|
+
"warning",
|
|
1279
|
+
"error",
|
|
1280
|
+
true,
|
|
1281
|
+
false
|
|
1282
|
+
]
|
|
597
1283
|
},
|
|
598
1284
|
"reportIncompleteStub": {
|
|
599
|
-
"type": [
|
|
1285
|
+
"type": [
|
|
1286
|
+
"string",
|
|
1287
|
+
"boolean"
|
|
1288
|
+
],
|
|
600
1289
|
"description": "Diagnostics for the use of a module-level “__getattr__” function, indicating that the stub is incomplete.",
|
|
601
1290
|
"default": "none",
|
|
602
|
-
"enum": [
|
|
1291
|
+
"enum": [
|
|
1292
|
+
"none",
|
|
1293
|
+
"information",
|
|
1294
|
+
"warning",
|
|
1295
|
+
"error",
|
|
1296
|
+
true,
|
|
1297
|
+
false
|
|
1298
|
+
]
|
|
603
1299
|
},
|
|
604
1300
|
"reportUndefinedVariable": {
|
|
605
|
-
"type": [
|
|
1301
|
+
"type": [
|
|
1302
|
+
"string",
|
|
1303
|
+
"boolean"
|
|
1304
|
+
],
|
|
606
1305
|
"description": "Diagnostics for undefined variables.",
|
|
607
1306
|
"default": "error",
|
|
608
|
-
"enum": [
|
|
1307
|
+
"enum": [
|
|
1308
|
+
"none",
|
|
1309
|
+
"information",
|
|
1310
|
+
"warning",
|
|
1311
|
+
"error",
|
|
1312
|
+
true,
|
|
1313
|
+
false
|
|
1314
|
+
]
|
|
609
1315
|
},
|
|
610
1316
|
"reportUnboundVariable": {
|
|
611
|
-
"type": [
|
|
1317
|
+
"type": [
|
|
1318
|
+
"string",
|
|
1319
|
+
"boolean"
|
|
1320
|
+
],
|
|
612
1321
|
"description": "Diagnostics for the use of unbound variables.",
|
|
613
1322
|
"default": "error",
|
|
614
|
-
"enum": [
|
|
1323
|
+
"enum": [
|
|
1324
|
+
"none",
|
|
1325
|
+
"information",
|
|
1326
|
+
"warning",
|
|
1327
|
+
"error",
|
|
1328
|
+
true,
|
|
1329
|
+
false
|
|
1330
|
+
]
|
|
615
1331
|
},
|
|
616
1332
|
"reportUnhashable": {
|
|
617
|
-
"type": [
|
|
1333
|
+
"type": [
|
|
1334
|
+
"string",
|
|
1335
|
+
"boolean"
|
|
1336
|
+
],
|
|
618
1337
|
"description": "Diagnostics for the use of an unhashable object in a container that requires hashability.",
|
|
619
1338
|
"default": "error",
|
|
620
|
-
"enum": [
|
|
1339
|
+
"enum": [
|
|
1340
|
+
"none",
|
|
1341
|
+
"information",
|
|
1342
|
+
"warning",
|
|
1343
|
+
"error",
|
|
1344
|
+
true,
|
|
1345
|
+
false
|
|
1346
|
+
]
|
|
621
1347
|
},
|
|
622
1348
|
"reportUnsupportedDunderAll": {
|
|
623
|
-
"type": [
|
|
1349
|
+
"type": [
|
|
1350
|
+
"string",
|
|
1351
|
+
"boolean"
|
|
1352
|
+
],
|
|
624
1353
|
"description": "Diagnostics for unsupported operations performed on __all__.",
|
|
625
1354
|
"default": "warning",
|
|
626
|
-
"enum": [
|
|
1355
|
+
"enum": [
|
|
1356
|
+
"none",
|
|
1357
|
+
"information",
|
|
1358
|
+
"warning",
|
|
1359
|
+
"error",
|
|
1360
|
+
true,
|
|
1361
|
+
false
|
|
1362
|
+
]
|
|
627
1363
|
},
|
|
628
1364
|
"reportUnusedCallResult": {
|
|
629
|
-
"type": [
|
|
1365
|
+
"type": [
|
|
1366
|
+
"string",
|
|
1367
|
+
"boolean"
|
|
1368
|
+
],
|
|
630
1369
|
"description": "Diagnostics for call expressions whose results are not consumed and are not None.",
|
|
631
1370
|
"default": "none",
|
|
632
|
-
"enum": [
|
|
1371
|
+
"enum": [
|
|
1372
|
+
"none",
|
|
1373
|
+
"information",
|
|
1374
|
+
"warning",
|
|
1375
|
+
"error",
|
|
1376
|
+
true,
|
|
1377
|
+
false
|
|
1378
|
+
]
|
|
633
1379
|
},
|
|
634
1380
|
"reportUnusedCoroutine": {
|
|
635
|
-
"type": [
|
|
1381
|
+
"type": [
|
|
1382
|
+
"string",
|
|
1383
|
+
"boolean"
|
|
1384
|
+
],
|
|
636
1385
|
"description": "Diagnostics for call expressions that return a Coroutine and whose results are not consumed.",
|
|
637
1386
|
"default": "error",
|
|
638
|
-
"enum": [
|
|
1387
|
+
"enum": [
|
|
1388
|
+
"none",
|
|
1389
|
+
"information",
|
|
1390
|
+
"warning",
|
|
1391
|
+
"error",
|
|
1392
|
+
true,
|
|
1393
|
+
false
|
|
1394
|
+
]
|
|
639
1395
|
},
|
|
640
1396
|
"reportUnusedExcept": {
|
|
641
|
-
"type": [
|
|
1397
|
+
"type": [
|
|
1398
|
+
"string",
|
|
1399
|
+
"boolean"
|
|
1400
|
+
],
|
|
642
1401
|
"description": "Diagnostics for unreachable except clause.",
|
|
643
1402
|
"default": "error",
|
|
644
|
-
"enum": [
|
|
1403
|
+
"enum": [
|
|
1404
|
+
"none",
|
|
1405
|
+
"information",
|
|
1406
|
+
"warning",
|
|
1407
|
+
"error",
|
|
1408
|
+
true,
|
|
1409
|
+
false
|
|
1410
|
+
]
|
|
645
1411
|
},
|
|
646
1412
|
"reportUnusedExpression": {
|
|
647
|
-
"type": [
|
|
1413
|
+
"type": [
|
|
1414
|
+
"string",
|
|
1415
|
+
"boolean"
|
|
1416
|
+
],
|
|
648
1417
|
"description": "Diagnostics for simple expressions whose value is not used in any way.",
|
|
649
1418
|
"default": "warning",
|
|
650
|
-
"enum": [
|
|
1419
|
+
"enum": [
|
|
1420
|
+
"none",
|
|
1421
|
+
"information",
|
|
1422
|
+
"warning",
|
|
1423
|
+
"error",
|
|
1424
|
+
true,
|
|
1425
|
+
false
|
|
1426
|
+
]
|
|
651
1427
|
},
|
|
652
1428
|
"reportUnnecessaryTypeIgnoreComment": {
|
|
653
|
-
"type": [
|
|
1429
|
+
"type": [
|
|
1430
|
+
"string",
|
|
1431
|
+
"boolean"
|
|
1432
|
+
],
|
|
654
1433
|
"description": "Diagnostics for '# type: ignore' comments that have no effect.",
|
|
655
1434
|
"default": "none",
|
|
656
|
-
"enum": [
|
|
1435
|
+
"enum": [
|
|
1436
|
+
"none",
|
|
1437
|
+
"information",
|
|
1438
|
+
"warning",
|
|
1439
|
+
"error",
|
|
1440
|
+
true,
|
|
1441
|
+
false
|
|
1442
|
+
]
|
|
657
1443
|
},
|
|
658
1444
|
"reportMatchNotExhaustive": {
|
|
659
|
-
"type": [
|
|
1445
|
+
"type": [
|
|
1446
|
+
"string",
|
|
1447
|
+
"boolean"
|
|
1448
|
+
],
|
|
660
1449
|
"description": "Diagnostics for 'match' statements that do not exhaustively match all possible values.",
|
|
661
1450
|
"default": "none",
|
|
662
|
-
"enum": [
|
|
1451
|
+
"enum": [
|
|
1452
|
+
"none",
|
|
1453
|
+
"information",
|
|
1454
|
+
"warning",
|
|
1455
|
+
"error",
|
|
1456
|
+
true,
|
|
1457
|
+
false
|
|
1458
|
+
]
|
|
663
1459
|
},
|
|
664
1460
|
"reportShadowedImports": {
|
|
665
|
-
"type": [
|
|
1461
|
+
"type": [
|
|
1462
|
+
"string",
|
|
1463
|
+
"boolean"
|
|
1464
|
+
],
|
|
666
1465
|
"description": "Diagnostics for files that are overriding a module in the stdlib.",
|
|
667
1466
|
"default": "none",
|
|
668
|
-
"enum": [
|
|
1467
|
+
"enum": [
|
|
1468
|
+
"none",
|
|
1469
|
+
"information",
|
|
1470
|
+
"warning",
|
|
1471
|
+
"error",
|
|
1472
|
+
true,
|
|
1473
|
+
false
|
|
1474
|
+
]
|
|
669
1475
|
},
|
|
670
1476
|
"reportImplicitOverride": {
|
|
671
|
-
"type": [
|
|
1477
|
+
"type": [
|
|
1478
|
+
"string",
|
|
1479
|
+
"boolean"
|
|
1480
|
+
],
|
|
672
1481
|
"description": "Diagnostics for overridden methods that do not include an `@override` decorator.",
|
|
673
1482
|
"default": "none",
|
|
674
|
-
"enum": [
|
|
1483
|
+
"enum": [
|
|
1484
|
+
"none",
|
|
1485
|
+
"information",
|
|
1486
|
+
"warning",
|
|
1487
|
+
"error",
|
|
1488
|
+
true,
|
|
1489
|
+
false
|
|
1490
|
+
]
|
|
675
1491
|
}
|
|
676
1492
|
}
|
|
677
1493
|
},
|
|
@@ -679,12 +1495,22 @@
|
|
|
679
1495
|
"type": "string",
|
|
680
1496
|
"default": "Information",
|
|
681
1497
|
"description": "Specifies the level of logging for the Output panel",
|
|
682
|
-
"enum": [
|
|
1498
|
+
"enum": [
|
|
1499
|
+
"Error",
|
|
1500
|
+
"Warning",
|
|
1501
|
+
"Information",
|
|
1502
|
+
"Trace"
|
|
1503
|
+
]
|
|
683
1504
|
},
|
|
684
1505
|
"python.analysis.typeCheckingMode": {
|
|
685
1506
|
"type": "string",
|
|
686
1507
|
"default": "standard",
|
|
687
|
-
"enum": [
|
|
1508
|
+
"enum": [
|
|
1509
|
+
"off",
|
|
1510
|
+
"basic",
|
|
1511
|
+
"standard",
|
|
1512
|
+
"strict"
|
|
1513
|
+
],
|
|
688
1514
|
"description": "Defines the default rule set for type checking.",
|
|
689
1515
|
"scope": "resource"
|
|
690
1516
|
},
|
|
@@ -713,21 +1539,36 @@
|
|
|
713
1539
|
"type": "string",
|
|
714
1540
|
"default": "Error",
|
|
715
1541
|
"description": "Severity of Flake8 message type 'E'.",
|
|
716
|
-
"enum": [
|
|
1542
|
+
"enum": [
|
|
1543
|
+
"Hint",
|
|
1544
|
+
"Error",
|
|
1545
|
+
"Information",
|
|
1546
|
+
"Warning"
|
|
1547
|
+
],
|
|
717
1548
|
"scope": "resource"
|
|
718
1549
|
},
|
|
719
1550
|
"python.linting.flake8CategorySeverity.F": {
|
|
720
1551
|
"type": "string",
|
|
721
1552
|
"default": "Error",
|
|
722
1553
|
"description": "Severity of Flake8 message type 'F'.",
|
|
723
|
-
"enum": [
|
|
1554
|
+
"enum": [
|
|
1555
|
+
"Hint",
|
|
1556
|
+
"Error",
|
|
1557
|
+
"Information",
|
|
1558
|
+
"Warning"
|
|
1559
|
+
],
|
|
724
1560
|
"scope": "resource"
|
|
725
1561
|
},
|
|
726
1562
|
"python.linting.flake8CategorySeverity.W": {
|
|
727
1563
|
"type": "string",
|
|
728
1564
|
"default": "Warning",
|
|
729
1565
|
"description": "Severity of Flake8 message type 'W'.",
|
|
730
|
-
"enum": [
|
|
1566
|
+
"enum": [
|
|
1567
|
+
"Hint",
|
|
1568
|
+
"Error",
|
|
1569
|
+
"Information",
|
|
1570
|
+
"Warning"
|
|
1571
|
+
],
|
|
731
1572
|
"scope": "resource"
|
|
732
1573
|
},
|
|
733
1574
|
"python.linting.flake8Enabled": {
|
|
@@ -751,7 +1592,10 @@
|
|
|
751
1592
|
"python.linting.ignorePatterns": {
|
|
752
1593
|
"type": "array",
|
|
753
1594
|
"description": "Patterns used to exclude files or folders from being linted.",
|
|
754
|
-
"default": [
|
|
1595
|
+
"default": [
|
|
1596
|
+
".vscode/*.py",
|
|
1597
|
+
"**/site-packages/**/*.py"
|
|
1598
|
+
],
|
|
755
1599
|
"items": {
|
|
756
1600
|
"type": "string"
|
|
757
1601
|
},
|
|
@@ -793,7 +1637,12 @@
|
|
|
793
1637
|
"python.linting.mypyArgs": {
|
|
794
1638
|
"type": "array",
|
|
795
1639
|
"description": "Arguments passed in. Each argument is a separate item in the array.",
|
|
796
|
-
"default": [
|
|
1640
|
+
"default": [
|
|
1641
|
+
"--no-pretty",
|
|
1642
|
+
"--ignore-missing-imports",
|
|
1643
|
+
"--follow-imports=silent",
|
|
1644
|
+
"--show-column-numbers"
|
|
1645
|
+
],
|
|
797
1646
|
"items": {
|
|
798
1647
|
"type": "string"
|
|
799
1648
|
},
|
|
@@ -803,14 +1652,24 @@
|
|
|
803
1652
|
"type": "string",
|
|
804
1653
|
"default": "Error",
|
|
805
1654
|
"description": "Severity of Mypy message type 'Error'.",
|
|
806
|
-
"enum": [
|
|
1655
|
+
"enum": [
|
|
1656
|
+
"Hint",
|
|
1657
|
+
"Error",
|
|
1658
|
+
"Information",
|
|
1659
|
+
"Warning"
|
|
1660
|
+
],
|
|
807
1661
|
"scope": "resource"
|
|
808
1662
|
},
|
|
809
1663
|
"python.linting.mypyCategorySeverity.note": {
|
|
810
1664
|
"type": "string",
|
|
811
1665
|
"default": "Information",
|
|
812
1666
|
"description": "Severity of Mypy message type 'Note'.",
|
|
813
|
-
"enum": [
|
|
1667
|
+
"enum": [
|
|
1668
|
+
"Hint",
|
|
1669
|
+
"Error",
|
|
1670
|
+
"Information",
|
|
1671
|
+
"Warning"
|
|
1672
|
+
],
|
|
814
1673
|
"scope": "resource"
|
|
815
1674
|
},
|
|
816
1675
|
"python.linting.mypyEnabled": {
|
|
@@ -859,14 +1718,24 @@
|
|
|
859
1718
|
"type": "string",
|
|
860
1719
|
"default": "Error",
|
|
861
1720
|
"description": "Severity of pycodestyle message type 'E'.",
|
|
862
|
-
"enum": [
|
|
1721
|
+
"enum": [
|
|
1722
|
+
"Hint",
|
|
1723
|
+
"Error",
|
|
1724
|
+
"Information",
|
|
1725
|
+
"Warning"
|
|
1726
|
+
],
|
|
863
1727
|
"scope": "resource"
|
|
864
1728
|
},
|
|
865
1729
|
"python.linting.pycodestyleCategorySeverity.W": {
|
|
866
1730
|
"type": "string",
|
|
867
1731
|
"default": "Warning",
|
|
868
1732
|
"description": "Severity of pycodestyle message type 'W'.",
|
|
869
|
-
"enum": [
|
|
1733
|
+
"enum": [
|
|
1734
|
+
"Hint",
|
|
1735
|
+
"Error",
|
|
1736
|
+
"Information",
|
|
1737
|
+
"Warning"
|
|
1738
|
+
],
|
|
870
1739
|
"scope": "resource"
|
|
871
1740
|
},
|
|
872
1741
|
"python.linting.pycodestyleEnabled": {
|
|
@@ -996,35 +1865,60 @@
|
|
|
996
1865
|
"type": "string",
|
|
997
1866
|
"default": "Information",
|
|
998
1867
|
"description": "Severity of Pylint message type 'Convention/C'.",
|
|
999
|
-
"enum": [
|
|
1868
|
+
"enum": [
|
|
1869
|
+
"Hint",
|
|
1870
|
+
"Error",
|
|
1871
|
+
"Information",
|
|
1872
|
+
"Warning"
|
|
1873
|
+
],
|
|
1000
1874
|
"scope": "resource"
|
|
1001
1875
|
},
|
|
1002
1876
|
"python.linting.pylintCategorySeverity.error": {
|
|
1003
1877
|
"type": "string",
|
|
1004
1878
|
"default": "Error",
|
|
1005
1879
|
"description": "Severity of Pylint message type 'Error/E'.",
|
|
1006
|
-
"enum": [
|
|
1880
|
+
"enum": [
|
|
1881
|
+
"Hint",
|
|
1882
|
+
"Error",
|
|
1883
|
+
"Information",
|
|
1884
|
+
"Warning"
|
|
1885
|
+
],
|
|
1007
1886
|
"scope": "resource"
|
|
1008
1887
|
},
|
|
1009
1888
|
"python.linting.pylintCategorySeverity.fatal": {
|
|
1010
1889
|
"type": "string",
|
|
1011
1890
|
"default": "Error",
|
|
1012
1891
|
"description": "Severity of Pylint message type 'Fatal/F'.",
|
|
1013
|
-
"enum": [
|
|
1892
|
+
"enum": [
|
|
1893
|
+
"Hint",
|
|
1894
|
+
"Error",
|
|
1895
|
+
"Information",
|
|
1896
|
+
"Warning"
|
|
1897
|
+
],
|
|
1014
1898
|
"scope": "resource"
|
|
1015
1899
|
},
|
|
1016
1900
|
"python.linting.pylintCategorySeverity.refactor": {
|
|
1017
1901
|
"type": "string",
|
|
1018
1902
|
"default": "Hint",
|
|
1019
1903
|
"description": "Severity of Pylint message type 'Refactor/R'.",
|
|
1020
|
-
"enum": [
|
|
1904
|
+
"enum": [
|
|
1905
|
+
"Hint",
|
|
1906
|
+
"Error",
|
|
1907
|
+
"Information",
|
|
1908
|
+
"Warning"
|
|
1909
|
+
],
|
|
1021
1910
|
"scope": "resource"
|
|
1022
1911
|
},
|
|
1023
1912
|
"python.linting.pylintCategorySeverity.warning": {
|
|
1024
1913
|
"type": "string",
|
|
1025
1914
|
"default": "Warning",
|
|
1026
1915
|
"description": "Severity of Pylint message type 'Warning/W'.",
|
|
1027
|
-
"enum": [
|
|
1916
|
+
"enum": [
|
|
1917
|
+
"Hint",
|
|
1918
|
+
"Error",
|
|
1919
|
+
"Information",
|
|
1920
|
+
"Warning"
|
|
1921
|
+
],
|
|
1028
1922
|
"scope": "resource"
|
|
1029
1923
|
},
|
|
1030
1924
|
"python.linting.pylintStdin": {
|
|
@@ -1169,7 +2063,16 @@
|
|
|
1169
2063
|
"type": "string",
|
|
1170
2064
|
"default": "autopep8",
|
|
1171
2065
|
"description": "Provider for formatting.",
|
|
1172
|
-
"enum": [
|
|
2066
|
+
"enum": [
|
|
2067
|
+
"autopep8",
|
|
2068
|
+
"darker",
|
|
2069
|
+
"black",
|
|
2070
|
+
"pyink",
|
|
2071
|
+
"blackd",
|
|
2072
|
+
"yapf",
|
|
2073
|
+
"ruff",
|
|
2074
|
+
"none"
|
|
2075
|
+
],
|
|
1173
2076
|
"scope": "resource"
|
|
1174
2077
|
},
|
|
1175
2078
|
"python.sortImports.path": {
|
|
@@ -1227,7 +2130,11 @@
|
|
|
1227
2130
|
"type": "string",
|
|
1228
2131
|
"default": "pyright",
|
|
1229
2132
|
"description": "Organize imports provider",
|
|
1230
|
-
"enum": [
|
|
2133
|
+
"enum": [
|
|
2134
|
+
"pyright",
|
|
2135
|
+
"ruff",
|
|
2136
|
+
"isort"
|
|
2137
|
+
]
|
|
1231
2138
|
},
|
|
1232
2139
|
"pyright.server": {
|
|
1233
2140
|
"type": "string",
|
|
@@ -1237,7 +2144,10 @@
|
|
|
1237
2144
|
"pyright.testing.provider": {
|
|
1238
2145
|
"type": "string",
|
|
1239
2146
|
"default": "unittest",
|
|
1240
|
-
"enum": [
|
|
2147
|
+
"enum": [
|
|
2148
|
+
"unittest",
|
|
2149
|
+
"pytest"
|
|
2150
|
+
],
|
|
1241
2151
|
"description": "Provider for testing, supports 'unittest' and 'pytest'."
|
|
1242
2152
|
},
|
|
1243
2153
|
"pyright.testing.pytestArgs": {
|
|
@@ -1259,8 +2169,16 @@
|
|
|
1259
2169
|
"pyright.trace.server": {
|
|
1260
2170
|
"type": "string",
|
|
1261
2171
|
"scope": "window",
|
|
1262
|
-
"enum": [
|
|
1263
|
-
|
|
2172
|
+
"enum": [
|
|
2173
|
+
"off",
|
|
2174
|
+
"messages",
|
|
2175
|
+
"verbose"
|
|
2176
|
+
],
|
|
2177
|
+
"enumDescriptions": [
|
|
2178
|
+
"No traces",
|
|
2179
|
+
"Error only",
|
|
2180
|
+
"Full log"
|
|
2181
|
+
],
|
|
1264
2182
|
"default": "off",
|
|
1265
2183
|
"description": "Trace requests to Pyright"
|
|
1266
2184
|
}
|
|
@@ -1310,6 +2228,6 @@
|
|
|
1310
2228
|
]
|
|
1311
2229
|
},
|
|
1312
2230
|
"dependencies": {
|
|
1313
|
-
"pyright": "^1.1.
|
|
2231
|
+
"pyright": "^1.1.405"
|
|
1314
2232
|
}
|
|
1315
2233
|
}
|