coc-pyright 1.1.229 → 1.1.231
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.
|
|
3
|
+
"version": "1.1.231",
|
|
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",
|
|
@@ -777,6 +777,17 @@
|
|
|
777
777
|
"error"
|
|
778
778
|
]
|
|
779
779
|
},
|
|
780
|
+
"reportUnusedExpression": {
|
|
781
|
+
"type": "string",
|
|
782
|
+
"description": "Diagnostics for simple expressions whose value is not used in any way.",
|
|
783
|
+
"default": "warning",
|
|
784
|
+
"enum": [
|
|
785
|
+
"none",
|
|
786
|
+
"information",
|
|
787
|
+
"warning",
|
|
788
|
+
"error"
|
|
789
|
+
]
|
|
790
|
+
},
|
|
780
791
|
"reportUnnecessaryTypeIgnoreComment": {
|
|
781
792
|
"type": "string",
|
|
782
793
|
"description": "Diagnostics for '# type: ignore' comments that have no effect.",
|
|
@@ -1392,6 +1403,6 @@
|
|
|
1392
1403
|
]
|
|
1393
1404
|
},
|
|
1394
1405
|
"dependencies": {
|
|
1395
|
-
"pyright": "^1.1.
|
|
1406
|
+
"pyright": "^1.1.231"
|
|
1396
1407
|
}
|
|
1397
1408
|
}
|
|
@@ -467,6 +467,12 @@
|
|
|
467
467
|
"title": "Controls reporting of call expressions that returns Coroutine whose results are not consumed",
|
|
468
468
|
"default": "error"
|
|
469
469
|
},
|
|
470
|
+
"reportUnusedExpression": {
|
|
471
|
+
"$id": "#/properties/reportUnusedExpression",
|
|
472
|
+
"$ref": "#/definitions/diagnostic",
|
|
473
|
+
"title": "Controls reporting of simple expressions whose value is not used in any way",
|
|
474
|
+
"default": "warning"
|
|
475
|
+
},
|
|
470
476
|
"reportUnnecessaryTypeIgnoreComment": {
|
|
471
477
|
"$id": "#/properties/reportUnnecessaryTypeIgnoreComment",
|
|
472
478
|
"$ref": "#/definitions/diagnostic",
|