coc-pyright 1.1.334 → 1.1.335
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 +1547 -1616
- package/package.json +468 -148
- package/pythonFiles/sortImports.py +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coc-pyright",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.335",
|
|
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",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@types/which": "^3.0.0",
|
|
43
43
|
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
44
44
|
"@typescript-eslint/parser": "^6.4.1",
|
|
45
|
-
"@zzzen/pyright-internal": "^1.2.0-dev.
|
|
45
|
+
"@zzzen/pyright-internal": "^1.2.0-dev.20231105",
|
|
46
46
|
"coc.nvim": "^0.0.83-next.18",
|
|
47
47
|
"diff-match-patch": "^1.0.5",
|
|
48
48
|
"esbuild": "^0.19.2",
|
|
@@ -188,714 +188,1034 @@
|
|
|
188
188
|
},
|
|
189
189
|
"python.analysis.diagnosticSeverityOverrides": {
|
|
190
190
|
"type": "object",
|
|
191
|
-
"description": "Allows a user to override the severity levels for individual diagnostics.",
|
|
191
|
+
"description": "Allows a user to override the severity levels for individual diagnostics. Use the rule name as a key and one of \"error\", \"warning\", \"information\", \"none\", `true` (alias for \"error\") or `false` (alias for \"none\") as value. The default value shown for each diagnostic is the default when \"python.analysis.typeCheckingMode\" is set to \"basic\". See [here](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#diagnostic-rule-defaults) for defaults for each type checking mode (\"off\", \"basic\" and \"strict\").",
|
|
192
|
+
"scope": "resource",
|
|
192
193
|
"properties": {
|
|
193
194
|
"reportGeneralTypeIssues": {
|
|
194
|
-
"type":
|
|
195
|
+
"type": [
|
|
196
|
+
"string",
|
|
197
|
+
"boolean"
|
|
198
|
+
],
|
|
195
199
|
"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.",
|
|
196
200
|
"default": "error",
|
|
197
201
|
"enum": [
|
|
198
202
|
"none",
|
|
199
203
|
"information",
|
|
200
204
|
"warning",
|
|
201
|
-
"error"
|
|
205
|
+
"error",
|
|
206
|
+
true,
|
|
207
|
+
false
|
|
202
208
|
]
|
|
203
209
|
},
|
|
204
210
|
"reportPropertyTypeMismatch": {
|
|
205
|
-
"type":
|
|
211
|
+
"type": [
|
|
212
|
+
"string",
|
|
213
|
+
"boolean"
|
|
214
|
+
],
|
|
206
215
|
"description": "Diagnostics for property whose setter and getter have mismatched types.",
|
|
207
216
|
"default": "none",
|
|
208
217
|
"enum": [
|
|
209
218
|
"none",
|
|
210
219
|
"information",
|
|
211
220
|
"warning",
|
|
212
|
-
"error"
|
|
221
|
+
"error",
|
|
222
|
+
true,
|
|
223
|
+
false
|
|
213
224
|
]
|
|
214
225
|
},
|
|
215
226
|
"reportFunctionMemberAccess": {
|
|
216
|
-
"type":
|
|
227
|
+
"type": [
|
|
228
|
+
"string",
|
|
229
|
+
"boolean"
|
|
230
|
+
],
|
|
217
231
|
"description": "Diagnostics for member accesses on functions.",
|
|
218
232
|
"default": "none",
|
|
219
233
|
"enum": [
|
|
220
234
|
"none",
|
|
221
235
|
"information",
|
|
222
236
|
"warning",
|
|
223
|
-
"error"
|
|
237
|
+
"error",
|
|
238
|
+
true,
|
|
239
|
+
false
|
|
224
240
|
]
|
|
225
241
|
},
|
|
226
242
|
"reportMissingImports": {
|
|
227
|
-
"type":
|
|
243
|
+
"type": [
|
|
244
|
+
"string",
|
|
245
|
+
"boolean"
|
|
246
|
+
],
|
|
228
247
|
"description": "Diagnostics for imports that have no corresponding imported python file or type stub file.",
|
|
229
248
|
"default": "error",
|
|
230
249
|
"enum": [
|
|
231
250
|
"none",
|
|
232
251
|
"information",
|
|
233
252
|
"warning",
|
|
234
|
-
"error"
|
|
253
|
+
"error",
|
|
254
|
+
true,
|
|
255
|
+
false
|
|
235
256
|
]
|
|
236
257
|
},
|
|
237
258
|
"reportMissingModuleSource": {
|
|
238
|
-
"type":
|
|
259
|
+
"type": [
|
|
260
|
+
"string",
|
|
261
|
+
"boolean"
|
|
262
|
+
],
|
|
239
263
|
"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.",
|
|
240
264
|
"default": "warning",
|
|
241
265
|
"enum": [
|
|
242
266
|
"none",
|
|
243
267
|
"information",
|
|
244
268
|
"warning",
|
|
245
|
-
"error"
|
|
269
|
+
"error",
|
|
270
|
+
true,
|
|
271
|
+
false
|
|
246
272
|
]
|
|
247
273
|
},
|
|
248
274
|
"reportMissingTypeStubs": {
|
|
249
|
-
"type":
|
|
275
|
+
"type": [
|
|
276
|
+
"string",
|
|
277
|
+
"boolean"
|
|
278
|
+
],
|
|
250
279
|
"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.",
|
|
251
280
|
"default": "none",
|
|
252
281
|
"enum": [
|
|
253
282
|
"none",
|
|
254
283
|
"information",
|
|
255
284
|
"warning",
|
|
256
|
-
"error"
|
|
285
|
+
"error",
|
|
286
|
+
true,
|
|
287
|
+
false
|
|
257
288
|
]
|
|
258
289
|
},
|
|
259
290
|
"reportImportCycles": {
|
|
260
|
-
"type":
|
|
291
|
+
"type": [
|
|
292
|
+
"string",
|
|
293
|
+
"boolean"
|
|
294
|
+
],
|
|
261
295
|
"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.",
|
|
262
296
|
"default": "none",
|
|
263
297
|
"enum": [
|
|
264
298
|
"none",
|
|
265
299
|
"information",
|
|
266
300
|
"warning",
|
|
267
|
-
"error"
|
|
301
|
+
"error",
|
|
302
|
+
true,
|
|
303
|
+
false
|
|
268
304
|
]
|
|
269
305
|
},
|
|
270
306
|
"reportUnusedImport": {
|
|
271
|
-
"type":
|
|
307
|
+
"type": [
|
|
308
|
+
"string",
|
|
309
|
+
"boolean"
|
|
310
|
+
],
|
|
272
311
|
"description": "Diagnostics for an imported symbol that is not referenced within that file.",
|
|
273
312
|
"default": "none",
|
|
274
313
|
"enum": [
|
|
275
314
|
"none",
|
|
276
315
|
"information",
|
|
277
316
|
"warning",
|
|
278
|
-
"error"
|
|
317
|
+
"error",
|
|
318
|
+
true,
|
|
319
|
+
false
|
|
279
320
|
]
|
|
280
321
|
},
|
|
281
322
|
"reportUnusedClass": {
|
|
282
|
-
"type":
|
|
323
|
+
"type": [
|
|
324
|
+
"string",
|
|
325
|
+
"boolean"
|
|
326
|
+
],
|
|
283
327
|
"description": "Diagnostics for a class with a private name (starting with an underscore) that is not accessed.",
|
|
284
328
|
"default": "none",
|
|
285
329
|
"enum": [
|
|
286
330
|
"none",
|
|
287
331
|
"information",
|
|
288
332
|
"warning",
|
|
289
|
-
"error"
|
|
333
|
+
"error",
|
|
334
|
+
true,
|
|
335
|
+
false
|
|
290
336
|
]
|
|
291
337
|
},
|
|
292
338
|
"reportUnusedFunction": {
|
|
293
|
-
"type":
|
|
339
|
+
"type": [
|
|
340
|
+
"string",
|
|
341
|
+
"boolean"
|
|
342
|
+
],
|
|
294
343
|
"description": "Diagnostics for a function or method with a private name (starting with an underscore) that is not accessed.",
|
|
295
344
|
"default": "none",
|
|
296
345
|
"enum": [
|
|
297
346
|
"none",
|
|
298
347
|
"information",
|
|
299
348
|
"warning",
|
|
300
|
-
"error"
|
|
349
|
+
"error",
|
|
350
|
+
true,
|
|
351
|
+
false
|
|
301
352
|
]
|
|
302
353
|
},
|
|
303
354
|
"reportUnusedVariable": {
|
|
304
|
-
"type":
|
|
355
|
+
"type": [
|
|
356
|
+
"string",
|
|
357
|
+
"boolean"
|
|
358
|
+
],
|
|
305
359
|
"description": "Diagnostics for a variable that is not accessed.",
|
|
306
360
|
"default": "none",
|
|
307
361
|
"enum": [
|
|
308
362
|
"none",
|
|
309
363
|
"information",
|
|
310
364
|
"warning",
|
|
311
|
-
"error"
|
|
365
|
+
"error",
|
|
366
|
+
true,
|
|
367
|
+
false
|
|
312
368
|
]
|
|
313
369
|
},
|
|
314
370
|
"reportDuplicateImport": {
|
|
315
|
-
"type":
|
|
371
|
+
"type": [
|
|
372
|
+
"string",
|
|
373
|
+
"boolean"
|
|
374
|
+
],
|
|
316
375
|
"description": "Diagnostics for an imported symbol or module that is imported more than once.",
|
|
317
376
|
"default": "none",
|
|
318
377
|
"enum": [
|
|
319
378
|
"none",
|
|
320
379
|
"information",
|
|
321
380
|
"warning",
|
|
322
|
-
"error"
|
|
381
|
+
"error",
|
|
382
|
+
true,
|
|
383
|
+
false
|
|
323
384
|
]
|
|
324
385
|
},
|
|
325
386
|
"reportWildcardImportFromLibrary": {
|
|
326
|
-
"type":
|
|
387
|
+
"type": [
|
|
388
|
+
"string",
|
|
389
|
+
"boolean"
|
|
390
|
+
],
|
|
327
391
|
"description": "Diagnostics for an wildcard import from an external library.",
|
|
328
392
|
"default": "warning",
|
|
329
393
|
"enum": [
|
|
330
394
|
"none",
|
|
331
395
|
"information",
|
|
332
396
|
"warning",
|
|
333
|
-
"error"
|
|
397
|
+
"error",
|
|
398
|
+
true,
|
|
399
|
+
false
|
|
334
400
|
]
|
|
335
401
|
},
|
|
336
402
|
"reportOptionalSubscript": {
|
|
337
|
-
"type":
|
|
403
|
+
"type": [
|
|
404
|
+
"string",
|
|
405
|
+
"boolean"
|
|
406
|
+
],
|
|
338
407
|
"description": "Diagnostics for an attempt to subscript (index) a variable with an Optional type.",
|
|
339
408
|
"default": "error",
|
|
340
409
|
"enum": [
|
|
341
410
|
"none",
|
|
342
411
|
"information",
|
|
343
412
|
"warning",
|
|
344
|
-
"error"
|
|
413
|
+
"error",
|
|
414
|
+
true,
|
|
415
|
+
false
|
|
345
416
|
]
|
|
346
417
|
},
|
|
347
418
|
"reportOptionalMemberAccess": {
|
|
348
|
-
"type":
|
|
419
|
+
"type": [
|
|
420
|
+
"string",
|
|
421
|
+
"boolean"
|
|
422
|
+
],
|
|
349
423
|
"description": "Diagnostics for an attempt to access a member of a variable with an Optional type.",
|
|
350
424
|
"default": "error",
|
|
351
425
|
"enum": [
|
|
352
426
|
"none",
|
|
353
427
|
"information",
|
|
354
428
|
"warning",
|
|
355
|
-
"error"
|
|
429
|
+
"error",
|
|
430
|
+
true,
|
|
431
|
+
false
|
|
356
432
|
]
|
|
357
433
|
},
|
|
358
434
|
"reportOptionalCall": {
|
|
359
|
-
"type":
|
|
435
|
+
"type": [
|
|
436
|
+
"string",
|
|
437
|
+
"boolean"
|
|
438
|
+
],
|
|
360
439
|
"description": "Diagnostics for an attempt to call a variable with an Optional type.",
|
|
361
440
|
"default": "error",
|
|
362
441
|
"enum": [
|
|
363
442
|
"none",
|
|
364
443
|
"information",
|
|
365
444
|
"warning",
|
|
366
|
-
"error"
|
|
445
|
+
"error",
|
|
446
|
+
true,
|
|
447
|
+
false
|
|
367
448
|
]
|
|
368
449
|
},
|
|
369
450
|
"reportOptionalIterable": {
|
|
370
|
-
"type":
|
|
451
|
+
"type": [
|
|
452
|
+
"string",
|
|
453
|
+
"boolean"
|
|
454
|
+
],
|
|
371
455
|
"description": "Diagnostics for an attempt to use an Optional type as an iterable value (e.g. within a for statement).",
|
|
372
456
|
"default": "error",
|
|
373
457
|
"enum": [
|
|
374
458
|
"none",
|
|
375
459
|
"information",
|
|
376
460
|
"warning",
|
|
377
|
-
"error"
|
|
461
|
+
"error",
|
|
462
|
+
true,
|
|
463
|
+
false
|
|
378
464
|
]
|
|
379
465
|
},
|
|
380
466
|
"reportOptionalContextManager": {
|
|
381
|
-
"type":
|
|
467
|
+
"type": [
|
|
468
|
+
"string",
|
|
469
|
+
"boolean"
|
|
470
|
+
],
|
|
382
471
|
"description": "Diagnostics for an attempt to use an Optional type as a context manager (as a parameter to a with statement).",
|
|
383
472
|
"default": "error",
|
|
384
473
|
"enum": [
|
|
385
474
|
"none",
|
|
386
475
|
"information",
|
|
387
476
|
"warning",
|
|
388
|
-
"error"
|
|
477
|
+
"error",
|
|
478
|
+
true,
|
|
479
|
+
false
|
|
389
480
|
]
|
|
390
481
|
},
|
|
391
482
|
"reportOptionalOperand": {
|
|
392
|
-
"type":
|
|
483
|
+
"type": [
|
|
484
|
+
"string",
|
|
485
|
+
"boolean"
|
|
486
|
+
],
|
|
393
487
|
"description": "Diagnostics for an attempt to use an Optional type as an operand to a binary or unary operator (like '+', '==', 'or', 'not').",
|
|
394
488
|
"default": "error",
|
|
395
489
|
"enum": [
|
|
396
490
|
"none",
|
|
397
491
|
"information",
|
|
398
492
|
"warning",
|
|
399
|
-
"error"
|
|
493
|
+
"error",
|
|
494
|
+
true,
|
|
495
|
+
false
|
|
400
496
|
]
|
|
401
497
|
},
|
|
402
498
|
"reportTypedDictNotRequiredAccess": {
|
|
403
|
-
"type":
|
|
499
|
+
"type": [
|
|
500
|
+
"string",
|
|
501
|
+
"boolean"
|
|
502
|
+
],
|
|
404
503
|
"description": "Diagnostics for an attempt to access a non-required key within a TypedDict without a check for its presence.",
|
|
405
504
|
"default": "error",
|
|
406
505
|
"enum": [
|
|
407
506
|
"none",
|
|
408
507
|
"information",
|
|
409
508
|
"warning",
|
|
410
|
-
"error"
|
|
509
|
+
"error",
|
|
510
|
+
true,
|
|
511
|
+
false
|
|
411
512
|
]
|
|
412
513
|
},
|
|
413
514
|
"reportUntypedFunctionDecorator": {
|
|
414
|
-
"type":
|
|
515
|
+
"type": [
|
|
516
|
+
"string",
|
|
517
|
+
"boolean"
|
|
518
|
+
],
|
|
415
519
|
"description": "Diagnostics for function decorators that have no type annotations. These obscure the function type, defeating many type analysis features.",
|
|
416
520
|
"default": "none",
|
|
417
521
|
"enum": [
|
|
418
522
|
"none",
|
|
419
523
|
"information",
|
|
420
524
|
"warning",
|
|
421
|
-
"error"
|
|
525
|
+
"error",
|
|
526
|
+
true,
|
|
527
|
+
false
|
|
422
528
|
]
|
|
423
529
|
},
|
|
424
530
|
"reportUntypedClassDecorator": {
|
|
425
|
-
"type":
|
|
531
|
+
"type": [
|
|
532
|
+
"string",
|
|
533
|
+
"boolean"
|
|
534
|
+
],
|
|
426
535
|
"description": "Diagnostics for class decorators that have no type annotations. These obscure the class type, defeating many type analysis features.",
|
|
427
536
|
"default": "none",
|
|
428
537
|
"enum": [
|
|
429
538
|
"none",
|
|
430
539
|
"information",
|
|
431
540
|
"warning",
|
|
432
|
-
"error"
|
|
541
|
+
"error",
|
|
542
|
+
true,
|
|
543
|
+
false
|
|
433
544
|
]
|
|
434
545
|
},
|
|
435
546
|
"reportUntypedBaseClass": {
|
|
436
|
-
"type":
|
|
547
|
+
"type": [
|
|
548
|
+
"string",
|
|
549
|
+
"boolean"
|
|
550
|
+
],
|
|
437
551
|
"description": "Diagnostics for base classes whose type cannot be determined statically. These obscure the class type, defeating many type analysis features.",
|
|
438
552
|
"default": "none",
|
|
439
553
|
"enum": [
|
|
440
554
|
"none",
|
|
441
555
|
"information",
|
|
442
556
|
"warning",
|
|
443
|
-
"error"
|
|
557
|
+
"error",
|
|
558
|
+
true,
|
|
559
|
+
false
|
|
444
560
|
]
|
|
445
561
|
},
|
|
446
562
|
"reportUntypedNamedTuple": {
|
|
447
|
-
"type":
|
|
563
|
+
"type": [
|
|
564
|
+
"string",
|
|
565
|
+
"boolean"
|
|
566
|
+
],
|
|
448
567
|
"description": "Diagnostics when “namedtuple” is used rather than “NamedTuple”. The former contains no type information, whereas the latter does.",
|
|
449
568
|
"default": "none",
|
|
450
569
|
"enum": [
|
|
451
570
|
"none",
|
|
452
571
|
"information",
|
|
453
572
|
"warning",
|
|
454
|
-
"error"
|
|
573
|
+
"error",
|
|
574
|
+
true,
|
|
575
|
+
false
|
|
455
576
|
]
|
|
456
577
|
},
|
|
457
578
|
"reportPrivateUsage": {
|
|
458
|
-
"type":
|
|
579
|
+
"type": [
|
|
580
|
+
"string",
|
|
581
|
+
"boolean"
|
|
582
|
+
],
|
|
459
583
|
"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.",
|
|
460
584
|
"default": "none",
|
|
461
585
|
"enum": [
|
|
462
586
|
"none",
|
|
463
587
|
"information",
|
|
464
588
|
"warning",
|
|
465
|
-
"error"
|
|
589
|
+
"error",
|
|
590
|
+
true,
|
|
591
|
+
false
|
|
466
592
|
]
|
|
467
593
|
},
|
|
468
594
|
"reportTypeCommentUsage": {
|
|
469
|
-
"type":
|
|
595
|
+
"type": [
|
|
596
|
+
"string",
|
|
597
|
+
"boolean"
|
|
598
|
+
],
|
|
470
599
|
"description": "Diagnostics for usage of deprecated type comments.",
|
|
471
600
|
"default": "none",
|
|
472
601
|
"enum": [
|
|
473
602
|
"none",
|
|
474
603
|
"information",
|
|
475
604
|
"warning",
|
|
476
|
-
"error"
|
|
605
|
+
"error",
|
|
606
|
+
true,
|
|
607
|
+
false
|
|
477
608
|
]
|
|
478
609
|
},
|
|
479
610
|
"reportPrivateImportUsage": {
|
|
480
|
-
"type":
|
|
611
|
+
"type": [
|
|
612
|
+
"string",
|
|
613
|
+
"boolean"
|
|
614
|
+
],
|
|
481
615
|
"description": "Diagnostics for incorrect usage of symbol imported from a \"py.typed\" module that is not re-exported from that module.",
|
|
482
616
|
"default": "error",
|
|
483
617
|
"enum": [
|
|
484
618
|
"none",
|
|
485
619
|
"information",
|
|
486
620
|
"warning",
|
|
487
|
-
"error"
|
|
621
|
+
"error",
|
|
622
|
+
true,
|
|
623
|
+
false
|
|
488
624
|
]
|
|
489
625
|
},
|
|
490
626
|
"reportConstantRedefinition": {
|
|
491
|
-
"type":
|
|
627
|
+
"type": [
|
|
628
|
+
"string",
|
|
629
|
+
"boolean"
|
|
630
|
+
],
|
|
492
631
|
"description": "Diagnostics for attempts to redefine variables whose names are all-caps with underscores and numerals.",
|
|
493
632
|
"default": "none",
|
|
494
633
|
"enum": [
|
|
495
634
|
"none",
|
|
496
635
|
"information",
|
|
497
636
|
"warning",
|
|
498
|
-
"error"
|
|
637
|
+
"error",
|
|
638
|
+
true,
|
|
639
|
+
false
|
|
499
640
|
]
|
|
500
641
|
},
|
|
501
642
|
"reportDeprecated": {
|
|
502
|
-
"type":
|
|
643
|
+
"type": [
|
|
644
|
+
"string",
|
|
645
|
+
"boolean"
|
|
646
|
+
],
|
|
503
647
|
"description": "Diagnostics for use of deprecated classes or functions.",
|
|
504
648
|
"default": "none",
|
|
505
649
|
"enum": [
|
|
506
650
|
"none",
|
|
507
651
|
"information",
|
|
508
652
|
"warning",
|
|
509
|
-
"error"
|
|
653
|
+
"error",
|
|
654
|
+
true,
|
|
655
|
+
false
|
|
510
656
|
]
|
|
511
657
|
},
|
|
512
658
|
"reportIncompatibleMethodOverride": {
|
|
513
|
-
"type":
|
|
659
|
+
"type": [
|
|
660
|
+
"string",
|
|
661
|
+
"boolean"
|
|
662
|
+
],
|
|
514
663
|
"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).",
|
|
515
664
|
"default": "none",
|
|
516
665
|
"enum": [
|
|
517
666
|
"none",
|
|
518
667
|
"information",
|
|
519
668
|
"warning",
|
|
520
|
-
"error"
|
|
669
|
+
"error",
|
|
670
|
+
true,
|
|
671
|
+
false
|
|
521
672
|
]
|
|
522
673
|
},
|
|
523
674
|
"reportIncompatibleVariableOverride": {
|
|
524
|
-
"type":
|
|
675
|
+
"type": [
|
|
676
|
+
"string",
|
|
677
|
+
"boolean"
|
|
678
|
+
],
|
|
525
679
|
"description": "Diagnostics for overrides in subclasses that redefine a variable in an incompatible way.",
|
|
526
680
|
"default": "none",
|
|
527
681
|
"enum": [
|
|
528
682
|
"none",
|
|
529
683
|
"information",
|
|
530
684
|
"warning",
|
|
531
|
-
"error"
|
|
685
|
+
"error",
|
|
686
|
+
true,
|
|
687
|
+
false
|
|
532
688
|
]
|
|
533
689
|
},
|
|
534
690
|
"reportInconsistentConstructor": {
|
|
535
|
-
"type":
|
|
691
|
+
"type": [
|
|
692
|
+
"string",
|
|
693
|
+
"boolean"
|
|
694
|
+
],
|
|
536
695
|
"description": "Diagnostics for __init__ and __new__ methods whose signatures are inconsistent.",
|
|
537
696
|
"default": "none",
|
|
538
697
|
"enum": [
|
|
539
698
|
"none",
|
|
540
699
|
"information",
|
|
541
700
|
"warning",
|
|
542
|
-
"error"
|
|
701
|
+
"error",
|
|
702
|
+
true,
|
|
703
|
+
false
|
|
543
704
|
]
|
|
544
705
|
},
|
|
545
706
|
"reportOverlappingOverload": {
|
|
546
|
-
"type":
|
|
707
|
+
"type": [
|
|
708
|
+
"string",
|
|
709
|
+
"boolean"
|
|
710
|
+
],
|
|
547
711
|
"description": "Diagnostics for function overloads that overlap in signature and obscure each other or have incompatible return types.",
|
|
548
712
|
"default": "none",
|
|
549
713
|
"enum": [
|
|
550
714
|
"none",
|
|
551
715
|
"information",
|
|
552
716
|
"warning",
|
|
553
|
-
"error"
|
|
717
|
+
"error",
|
|
718
|
+
true,
|
|
719
|
+
false
|
|
554
720
|
]
|
|
555
721
|
},
|
|
556
722
|
"reportMissingSuperCall": {
|
|
557
|
-
"type":
|
|
723
|
+
"type": [
|
|
724
|
+
"string",
|
|
725
|
+
"boolean"
|
|
726
|
+
],
|
|
558
727
|
"description": "Diagnostics for missing call to parent class for inherited `__init__` methods.",
|
|
559
728
|
"default": "none",
|
|
560
729
|
"enum": [
|
|
561
730
|
"none",
|
|
562
731
|
"information",
|
|
563
732
|
"warning",
|
|
564
|
-
"error"
|
|
733
|
+
"error",
|
|
734
|
+
true,
|
|
735
|
+
false
|
|
565
736
|
]
|
|
566
737
|
},
|
|
567
738
|
"reportUninitializedInstanceVariable": {
|
|
568
|
-
"type":
|
|
739
|
+
"type": [
|
|
740
|
+
"string",
|
|
741
|
+
"boolean"
|
|
742
|
+
],
|
|
569
743
|
"description": "Diagnostics for instance variables that are not declared or initialized within class body or `__init__` method.",
|
|
570
744
|
"default": "none",
|
|
571
745
|
"enum": [
|
|
572
746
|
"none",
|
|
573
747
|
"information",
|
|
574
748
|
"warning",
|
|
575
|
-
"error"
|
|
749
|
+
"error",
|
|
750
|
+
true,
|
|
751
|
+
false
|
|
576
752
|
]
|
|
577
753
|
},
|
|
578
754
|
"reportInvalidStringEscapeSequence": {
|
|
579
|
-
"type":
|
|
755
|
+
"type": [
|
|
756
|
+
"string",
|
|
757
|
+
"boolean"
|
|
758
|
+
],
|
|
580
759
|
"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.",
|
|
581
760
|
"default": "warning",
|
|
582
761
|
"enum": [
|
|
583
762
|
"none",
|
|
584
763
|
"information",
|
|
585
764
|
"warning",
|
|
586
|
-
"error"
|
|
765
|
+
"error",
|
|
766
|
+
true,
|
|
767
|
+
false
|
|
587
768
|
]
|
|
588
769
|
},
|
|
589
770
|
"reportUnknownParameterType": {
|
|
590
|
-
"type":
|
|
771
|
+
"type": [
|
|
772
|
+
"string",
|
|
773
|
+
"boolean"
|
|
774
|
+
],
|
|
591
775
|
"description": "Diagnostics for input or return parameters for functions or methods that have an unknown type.",
|
|
592
776
|
"default": "none",
|
|
593
777
|
"enum": [
|
|
594
778
|
"none",
|
|
595
779
|
"information",
|
|
596
780
|
"warning",
|
|
597
|
-
"error"
|
|
781
|
+
"error",
|
|
782
|
+
true,
|
|
783
|
+
false
|
|
598
784
|
]
|
|
599
785
|
},
|
|
600
786
|
"reportUnknownArgumentType": {
|
|
601
|
-
"type":
|
|
787
|
+
"type": [
|
|
788
|
+
"string",
|
|
789
|
+
"boolean"
|
|
790
|
+
],
|
|
602
791
|
"description": "Diagnostics for call arguments for functions or methods that have an unknown type.",
|
|
603
792
|
"default": "none",
|
|
604
793
|
"enum": [
|
|
605
794
|
"none",
|
|
606
795
|
"information",
|
|
607
796
|
"warning",
|
|
608
|
-
"error"
|
|
797
|
+
"error",
|
|
798
|
+
true,
|
|
799
|
+
false
|
|
609
800
|
]
|
|
610
801
|
},
|
|
611
802
|
"reportUnknownLambdaType": {
|
|
612
|
-
"type":
|
|
803
|
+
"type": [
|
|
804
|
+
"string",
|
|
805
|
+
"boolean"
|
|
806
|
+
],
|
|
613
807
|
"description": "Diagnostics for input or return parameters for lambdas that have an unknown type.",
|
|
614
808
|
"default": "none",
|
|
615
809
|
"enum": [
|
|
616
810
|
"none",
|
|
617
811
|
"information",
|
|
618
812
|
"warning",
|
|
619
|
-
"error"
|
|
813
|
+
"error",
|
|
814
|
+
true,
|
|
815
|
+
false
|
|
620
816
|
]
|
|
621
817
|
},
|
|
622
818
|
"reportUnknownVariableType": {
|
|
623
|
-
"type":
|
|
819
|
+
"type": [
|
|
820
|
+
"string",
|
|
821
|
+
"boolean"
|
|
822
|
+
],
|
|
624
823
|
"description": "Diagnostics for variables that have an unknown type..",
|
|
625
824
|
"default": "none",
|
|
626
825
|
"enum": [
|
|
627
826
|
"none",
|
|
628
827
|
"information",
|
|
629
828
|
"warning",
|
|
630
|
-
"error"
|
|
829
|
+
"error",
|
|
830
|
+
true,
|
|
831
|
+
false
|
|
631
832
|
]
|
|
632
833
|
},
|
|
633
834
|
"reportUnknownMemberType": {
|
|
634
|
-
"type":
|
|
835
|
+
"type": [
|
|
836
|
+
"string",
|
|
837
|
+
"boolean"
|
|
838
|
+
],
|
|
635
839
|
"description": "Diagnostics for class or instance variables that have an unknown type.",
|
|
636
840
|
"default": "none",
|
|
637
841
|
"enum": [
|
|
638
842
|
"none",
|
|
639
843
|
"information",
|
|
640
844
|
"warning",
|
|
641
|
-
"error"
|
|
845
|
+
"error",
|
|
846
|
+
true,
|
|
847
|
+
false
|
|
642
848
|
]
|
|
643
849
|
},
|
|
644
850
|
"reportMissingParameterType": {
|
|
645
|
-
"type":
|
|
851
|
+
"type": [
|
|
852
|
+
"string",
|
|
853
|
+
"boolean"
|
|
854
|
+
],
|
|
646
855
|
"description": "Diagnostics for parameters that are missing a type annotation.",
|
|
647
856
|
"default": "none",
|
|
648
857
|
"enum": [
|
|
649
858
|
"none",
|
|
650
859
|
"information",
|
|
651
860
|
"warning",
|
|
652
|
-
"error"
|
|
861
|
+
"error",
|
|
862
|
+
true,
|
|
863
|
+
false
|
|
653
864
|
]
|
|
654
865
|
},
|
|
655
866
|
"reportMissingTypeArgument": {
|
|
656
|
-
"type":
|
|
867
|
+
"type": [
|
|
868
|
+
"string",
|
|
869
|
+
"boolean"
|
|
870
|
+
],
|
|
657
871
|
"description": "Diagnostics for generic class reference with missing type arguments.",
|
|
658
872
|
"default": "none",
|
|
659
873
|
"enum": [
|
|
660
874
|
"none",
|
|
661
875
|
"information",
|
|
662
876
|
"warning",
|
|
663
|
-
"error"
|
|
877
|
+
"error",
|
|
878
|
+
true,
|
|
879
|
+
false
|
|
664
880
|
]
|
|
665
881
|
},
|
|
666
882
|
"reportInvalidTypeVarUse": {
|
|
667
|
-
"type":
|
|
883
|
+
"type": [
|
|
884
|
+
"string",
|
|
885
|
+
"boolean"
|
|
886
|
+
],
|
|
668
887
|
"description": "Diagnostics for improper use of type variables in a function signature.",
|
|
669
888
|
"default": "warning",
|
|
670
889
|
"enum": [
|
|
671
890
|
"none",
|
|
672
891
|
"information",
|
|
673
892
|
"warning",
|
|
674
|
-
"error"
|
|
893
|
+
"error",
|
|
894
|
+
true,
|
|
895
|
+
false
|
|
675
896
|
]
|
|
676
897
|
},
|
|
677
898
|
"reportCallInDefaultInitializer": {
|
|
678
|
-
"type":
|
|
899
|
+
"type": [
|
|
900
|
+
"string",
|
|
901
|
+
"boolean"
|
|
902
|
+
],
|
|
679
903
|
"description": "Diagnostics for function calls within a default value initialization expression. Such calls can mask expensive operations that are performed at module initialization time.",
|
|
680
904
|
"default": "none",
|
|
681
905
|
"enum": [
|
|
682
906
|
"none",
|
|
683
907
|
"information",
|
|
684
908
|
"warning",
|
|
685
|
-
"error"
|
|
909
|
+
"error",
|
|
910
|
+
true,
|
|
911
|
+
false
|
|
686
912
|
]
|
|
687
913
|
},
|
|
688
914
|
"reportUnnecessaryIsInstance": {
|
|
689
|
-
"type":
|
|
915
|
+
"type": [
|
|
916
|
+
"string",
|
|
917
|
+
"boolean"
|
|
918
|
+
],
|
|
690
919
|
"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.",
|
|
691
920
|
"default": "none",
|
|
692
921
|
"enum": [
|
|
693
922
|
"none",
|
|
694
923
|
"information",
|
|
695
924
|
"warning",
|
|
696
|
-
"error"
|
|
925
|
+
"error",
|
|
926
|
+
true,
|
|
927
|
+
false
|
|
697
928
|
]
|
|
698
929
|
},
|
|
699
930
|
"reportUnnecessaryCast": {
|
|
700
|
-
"type":
|
|
931
|
+
"type": [
|
|
932
|
+
"string",
|
|
933
|
+
"boolean"
|
|
934
|
+
],
|
|
701
935
|
"description": "Diagnostics for 'cast' calls that are statically determined to be unnecessary. Such calls are sometimes indicative of a programming error.",
|
|
702
936
|
"default": "none",
|
|
703
937
|
"enum": [
|
|
704
938
|
"none",
|
|
705
939
|
"information",
|
|
706
940
|
"warning",
|
|
707
|
-
"error"
|
|
941
|
+
"error",
|
|
942
|
+
true,
|
|
943
|
+
false
|
|
708
944
|
]
|
|
709
945
|
},
|
|
710
946
|
"reportUnnecessaryComparison": {
|
|
711
|
-
"type":
|
|
947
|
+
"type": [
|
|
948
|
+
"string",
|
|
949
|
+
"boolean"
|
|
950
|
+
],
|
|
712
951
|
"description": "Diagnostics for '==' and '!=' comparisons that are statically determined to be unnecessary. Such calls are sometimes indicative of a programming error.",
|
|
713
952
|
"default": "none",
|
|
714
953
|
"enum": [
|
|
715
954
|
"none",
|
|
716
955
|
"information",
|
|
717
956
|
"warning",
|
|
718
|
-
"error"
|
|
957
|
+
"error",
|
|
958
|
+
true,
|
|
959
|
+
false
|
|
719
960
|
]
|
|
720
961
|
},
|
|
721
962
|
"reportUnnecessaryContains": {
|
|
722
|
-
"type":
|
|
963
|
+
"type": [
|
|
964
|
+
"string",
|
|
965
|
+
"boolean"
|
|
966
|
+
],
|
|
723
967
|
"description": "Diagnostics for 'in' operation that is statically determined to be unnecessary. Such operations are sometimes indicative of a programming error.",
|
|
724
968
|
"default": "none",
|
|
725
969
|
"enum": [
|
|
726
970
|
"none",
|
|
727
971
|
"information",
|
|
728
972
|
"warning",
|
|
729
|
-
"error"
|
|
973
|
+
"error",
|
|
974
|
+
true,
|
|
975
|
+
false
|
|
730
976
|
]
|
|
731
977
|
},
|
|
732
978
|
"reportAssertAlwaysTrue": {
|
|
733
|
-
"type":
|
|
979
|
+
"type": [
|
|
980
|
+
"string",
|
|
981
|
+
"boolean"
|
|
982
|
+
],
|
|
734
983
|
"description": "Diagnostics for 'assert' statement that will provably always assert. This can be indicative of a programming error.",
|
|
735
984
|
"default": "warning",
|
|
736
985
|
"enum": [
|
|
737
986
|
"none",
|
|
738
987
|
"information",
|
|
739
988
|
"warning",
|
|
740
|
-
"error"
|
|
989
|
+
"error",
|
|
990
|
+
true,
|
|
991
|
+
false
|
|
741
992
|
]
|
|
742
993
|
},
|
|
743
994
|
"reportSelfClsParameterName": {
|
|
744
|
-
"type":
|
|
995
|
+
"type": [
|
|
996
|
+
"string",
|
|
997
|
+
"boolean"
|
|
998
|
+
],
|
|
745
999
|
"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.",
|
|
746
1000
|
"default": "warning",
|
|
747
1001
|
"enum": [
|
|
748
1002
|
"none",
|
|
749
1003
|
"information",
|
|
750
1004
|
"warning",
|
|
751
|
-
"error"
|
|
1005
|
+
"error",
|
|
1006
|
+
true,
|
|
1007
|
+
false
|
|
752
1008
|
]
|
|
753
1009
|
},
|
|
754
1010
|
"reportImplicitStringConcatenation": {
|
|
755
|
-
"type":
|
|
1011
|
+
"type": [
|
|
1012
|
+
"string",
|
|
1013
|
+
"boolean"
|
|
1014
|
+
],
|
|
756
1015
|
"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.",
|
|
757
1016
|
"default": "none",
|
|
758
1017
|
"enum": [
|
|
759
1018
|
"none",
|
|
760
1019
|
"information",
|
|
761
1020
|
"warning",
|
|
762
|
-
"error"
|
|
1021
|
+
"error",
|
|
1022
|
+
true,
|
|
1023
|
+
false
|
|
763
1024
|
]
|
|
764
1025
|
},
|
|
765
1026
|
"reportInvalidStubStatement": {
|
|
766
|
-
"type":
|
|
1027
|
+
"type": [
|
|
1028
|
+
"string",
|
|
1029
|
+
"boolean"
|
|
1030
|
+
],
|
|
767
1031
|
"description": "Diagnostics for type stub statements that do not conform to PEP 484.",
|
|
768
1032
|
"default": "none",
|
|
769
1033
|
"enum": [
|
|
770
1034
|
"none",
|
|
771
1035
|
"information",
|
|
772
1036
|
"warning",
|
|
773
|
-
"error"
|
|
1037
|
+
"error",
|
|
1038
|
+
true,
|
|
1039
|
+
false
|
|
774
1040
|
]
|
|
775
1041
|
},
|
|
776
1042
|
"reportIncompleteStub": {
|
|
777
|
-
"type":
|
|
1043
|
+
"type": [
|
|
1044
|
+
"string",
|
|
1045
|
+
"boolean"
|
|
1046
|
+
],
|
|
778
1047
|
"description": "Diagnostics for the use of a module-level “__getattr__” function, indicating that the stub is incomplete.",
|
|
779
1048
|
"default": "none",
|
|
780
1049
|
"enum": [
|
|
781
1050
|
"none",
|
|
782
1051
|
"information",
|
|
783
1052
|
"warning",
|
|
784
|
-
"error"
|
|
1053
|
+
"error",
|
|
1054
|
+
true,
|
|
1055
|
+
false
|
|
785
1056
|
]
|
|
786
1057
|
},
|
|
787
1058
|
"reportUndefinedVariable": {
|
|
788
|
-
"type":
|
|
1059
|
+
"type": [
|
|
1060
|
+
"string",
|
|
1061
|
+
"boolean"
|
|
1062
|
+
],
|
|
789
1063
|
"description": "Diagnostics for undefined variables.",
|
|
790
1064
|
"default": "error",
|
|
791
1065
|
"enum": [
|
|
792
1066
|
"none",
|
|
793
1067
|
"information",
|
|
794
1068
|
"warning",
|
|
795
|
-
"error"
|
|
1069
|
+
"error",
|
|
1070
|
+
true,
|
|
1071
|
+
false
|
|
796
1072
|
]
|
|
797
1073
|
},
|
|
798
1074
|
"reportUnboundVariable": {
|
|
799
|
-
"type":
|
|
1075
|
+
"type": [
|
|
1076
|
+
"string",
|
|
1077
|
+
"boolean"
|
|
1078
|
+
],
|
|
800
1079
|
"description": "Diagnostics for unbound and possibly unbound variables.",
|
|
801
1080
|
"default": "error",
|
|
802
1081
|
"enum": [
|
|
803
1082
|
"none",
|
|
804
1083
|
"information",
|
|
805
1084
|
"warning",
|
|
806
|
-
"error"
|
|
1085
|
+
"error",
|
|
1086
|
+
true,
|
|
1087
|
+
false
|
|
807
1088
|
]
|
|
808
1089
|
},
|
|
809
1090
|
"reportUnsupportedDunderAll": {
|
|
810
|
-
"type":
|
|
1091
|
+
"type": [
|
|
1092
|
+
"string",
|
|
1093
|
+
"boolean"
|
|
1094
|
+
],
|
|
811
1095
|
"description": "Diagnostics for unsupported operations performed on __all__.",
|
|
812
1096
|
"default": "warning",
|
|
813
1097
|
"enum": [
|
|
814
1098
|
"none",
|
|
815
1099
|
"information",
|
|
816
1100
|
"warning",
|
|
817
|
-
"error"
|
|
1101
|
+
"error",
|
|
1102
|
+
true,
|
|
1103
|
+
false
|
|
818
1104
|
]
|
|
819
1105
|
},
|
|
820
1106
|
"reportUnusedCallResult": {
|
|
821
|
-
"type":
|
|
1107
|
+
"type": [
|
|
1108
|
+
"string",
|
|
1109
|
+
"boolean"
|
|
1110
|
+
],
|
|
822
1111
|
"description": "Diagnostics for call expressions whose results are not consumed and are not None.",
|
|
823
1112
|
"default": "none",
|
|
824
1113
|
"enum": [
|
|
825
1114
|
"none",
|
|
826
1115
|
"information",
|
|
827
1116
|
"warning",
|
|
828
|
-
"error"
|
|
1117
|
+
"error",
|
|
1118
|
+
true,
|
|
1119
|
+
false
|
|
829
1120
|
]
|
|
830
1121
|
},
|
|
831
1122
|
"reportUnusedCoroutine": {
|
|
832
|
-
"type":
|
|
1123
|
+
"type": [
|
|
1124
|
+
"string",
|
|
1125
|
+
"boolean"
|
|
1126
|
+
],
|
|
833
1127
|
"description": "Diagnostics for call expressions that return a Coroutine and whose results are not consumed.",
|
|
834
1128
|
"default": "error",
|
|
835
1129
|
"enum": [
|
|
836
1130
|
"none",
|
|
837
1131
|
"information",
|
|
838
1132
|
"warning",
|
|
839
|
-
"error"
|
|
1133
|
+
"error",
|
|
1134
|
+
true,
|
|
1135
|
+
false
|
|
840
1136
|
]
|
|
841
1137
|
},
|
|
842
|
-
"
|
|
843
|
-
"type":
|
|
844
|
-
|
|
845
|
-
|
|
1138
|
+
"reportUnusedExpression": {
|
|
1139
|
+
"type": [
|
|
1140
|
+
"string",
|
|
1141
|
+
"boolean"
|
|
1142
|
+
],
|
|
1143
|
+
"description": "Diagnostics for simple expressions whose value is not used in any way.",
|
|
1144
|
+
"default": "warning",
|
|
846
1145
|
"enum": [
|
|
847
1146
|
"none",
|
|
848
1147
|
"information",
|
|
849
1148
|
"warning",
|
|
850
|
-
"error"
|
|
1149
|
+
"error",
|
|
1150
|
+
true,
|
|
1151
|
+
false
|
|
851
1152
|
]
|
|
852
1153
|
},
|
|
853
|
-
"
|
|
854
|
-
"type":
|
|
855
|
-
|
|
1154
|
+
"reportUnnecessaryTypeIgnoreComment": {
|
|
1155
|
+
"type": [
|
|
1156
|
+
"string",
|
|
1157
|
+
"boolean"
|
|
1158
|
+
],
|
|
1159
|
+
"description": "Diagnostics for '# type: ignore' comments that have no effect.",
|
|
856
1160
|
"default": "none",
|
|
857
1161
|
"enum": [
|
|
858
1162
|
"none",
|
|
859
1163
|
"information",
|
|
860
1164
|
"warning",
|
|
861
|
-
"error"
|
|
1165
|
+
"error",
|
|
1166
|
+
true,
|
|
1167
|
+
false
|
|
862
1168
|
]
|
|
863
1169
|
},
|
|
864
|
-
"
|
|
865
|
-
"type":
|
|
866
|
-
|
|
1170
|
+
"reportMatchNotExhaustive": {
|
|
1171
|
+
"type": [
|
|
1172
|
+
"string",
|
|
1173
|
+
"boolean"
|
|
1174
|
+
],
|
|
1175
|
+
"description": "Diagnostics for 'match' statements that do not exhaustively match all possible values.",
|
|
867
1176
|
"default": "none",
|
|
868
1177
|
"enum": [
|
|
869
1178
|
"none",
|
|
870
1179
|
"information",
|
|
871
1180
|
"warning",
|
|
872
|
-
"error"
|
|
1181
|
+
"error",
|
|
1182
|
+
true,
|
|
1183
|
+
false
|
|
873
1184
|
]
|
|
874
1185
|
},
|
|
875
|
-
"
|
|
876
|
-
"type":
|
|
877
|
-
|
|
878
|
-
|
|
1186
|
+
"reportShadowedImports": {
|
|
1187
|
+
"type": [
|
|
1188
|
+
"string",
|
|
1189
|
+
"boolean"
|
|
1190
|
+
],
|
|
1191
|
+
"description": "Diagnostics for files that are overriding a module in the stdlib.",
|
|
1192
|
+
"default": "none",
|
|
879
1193
|
"enum": [
|
|
880
1194
|
"none",
|
|
881
1195
|
"information",
|
|
882
1196
|
"warning",
|
|
883
|
-
"error"
|
|
1197
|
+
"error",
|
|
1198
|
+
true,
|
|
1199
|
+
false
|
|
884
1200
|
]
|
|
885
1201
|
},
|
|
886
|
-
"
|
|
887
|
-
"type":
|
|
888
|
-
|
|
1202
|
+
"reportImplicitOverride": {
|
|
1203
|
+
"type": [
|
|
1204
|
+
"string",
|
|
1205
|
+
"boolean"
|
|
1206
|
+
],
|
|
1207
|
+
"description": "Diagnostics for overridden methods that do not include an `@override` decorator.",
|
|
889
1208
|
"default": "none",
|
|
890
1209
|
"enum": [
|
|
891
1210
|
"none",
|
|
892
1211
|
"information",
|
|
893
1212
|
"warning",
|
|
894
|
-
"error"
|
|
1213
|
+
"error",
|
|
1214
|
+
true,
|
|
1215
|
+
false
|
|
895
1216
|
]
|
|
896
1217
|
}
|
|
897
|
-
}
|
|
898
|
-
"scope": "resource"
|
|
1218
|
+
}
|
|
899
1219
|
},
|
|
900
1220
|
"python.analysis.logLevel": {
|
|
901
1221
|
"type": "string",
|
|
@@ -1482,8 +1802,8 @@
|
|
|
1482
1802
|
},
|
|
1483
1803
|
"python.sortImports.path": {
|
|
1484
1804
|
"type": "string",
|
|
1485
|
-
"description": "Path to isort script
|
|
1486
|
-
"default": "",
|
|
1805
|
+
"description": "Path to isort script",
|
|
1806
|
+
"default": "isort",
|
|
1487
1807
|
"scope": "resource"
|
|
1488
1808
|
},
|
|
1489
1809
|
"python.sortImports.args": {
|
|
@@ -1627,6 +1947,6 @@
|
|
|
1627
1947
|
]
|
|
1628
1948
|
},
|
|
1629
1949
|
"dependencies": {
|
|
1630
|
-
"pyright": "^1.1.
|
|
1950
|
+
"pyright": "^1.1.335"
|
|
1631
1951
|
}
|
|
1632
1952
|
}
|