coc-pyright 1.1.253 → 1.1.255

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coc-pyright",
3
- "version": "1.1.253",
3
+ "version": "1.1.255",
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",
@@ -425,6 +425,17 @@
425
425
  "error"
426
426
  ]
427
427
  },
428
+ "reportTypeCommentUsage": {
429
+ "type": "string",
430
+ "description": "Diagnostics for usage of deprecated type comments.",
431
+ "default": "none",
432
+ "enum": [
433
+ "none",
434
+ "information",
435
+ "warning",
436
+ "error"
437
+ ]
438
+ },
428
439
  "reportPrivateImportUsage": {
429
440
  "type": "string",
430
441
  "description": "Diagnostics for incorrect usage of symbol imported from a \"py.typed\" module that is not re-exported from that module.",
@@ -1408,6 +1419,6 @@
1408
1419
  ]
1409
1420
  },
1410
1421
  "dependencies": {
1411
- "pyright": "^1.1.253"
1422
+ "pyright": "^1.1.255"
1412
1423
  }
1413
1424
  }
@@ -67,6 +67,17 @@
67
67
  "pattern": "^(.*)$"
68
68
  }
69
69
  },
70
+ "defineConstant": {
71
+ "$id": "#/properties/defineConstant",
72
+ "type": "object",
73
+ "title": "Identifiers that should be treated as constants",
74
+ "properties": {
75
+ },
76
+ "additionalProperties": {
77
+ "type": ["string", "boolean"],
78
+ "title": "Value of constant (boolean or string)"
79
+ }
80
+ },
70
81
  "typeCheckingMode": {
71
82
  "$id": "#/properties/typeCheckingMode",
72
83
  "type": "string",
@@ -281,6 +292,12 @@
281
292
  "title": "Controls reporting of private variables and functions used outside of the owning class or module and usage of protected members outside of subclasses",
282
293
  "default": "none"
283
294
  },
295
+ "reportTypeCommentUsage": {
296
+ "$id": "#/properties/reportTypeCommentUsage",
297
+ "$ref": "#/definitions/diagnostic",
298
+ "title": "Controls reporting of deprecated type comment usage",
299
+ "default": "none"
300
+ },
284
301
  "reportPrivateImportUsage": {
285
302
  "$id": "#/properties/reportPrivateImportUsage",
286
303
  "$ref": "#/definitions/diagnostic",