coc-pyright 1.1.275 → 1.1.280

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.275",
3
+ "version": "1.1.280",
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",
@@ -810,6 +810,17 @@
810
810
  "error"
811
811
  ]
812
812
  },
813
+ "reportShadowedImports": {
814
+ "type": "string",
815
+ "description": "Diagnostics for files that are overriding a module in the stdlib.",
816
+ "default": "none",
817
+ "enum": [
818
+ "none",
819
+ "information",
820
+ "warning",
821
+ "error"
822
+ ]
823
+ },
813
824
  "reportUnusedExpression": {
814
825
  "type": "string",
815
826
  "description": "Diagnostics for simple expressions whose value is not used in any way.",
@@ -1351,7 +1362,7 @@
1351
1362
  "python.formatting.blackdHTTPHeaders": {
1352
1363
  "type": "object",
1353
1364
  "default": {},
1354
- "description": "Custom headers POST to blackd server, checkout https://black.readthedocs.io/en/stable/usage_and_configuration/black_as_a_server.html#protocol",
1365
+ "markdownDescription": "Custom headers POST to blackd server, checkout <https://black.readthedocs.io/en/stable/usage_and_configuration/black_as_a_server.html#protocol>",
1355
1366
  "scope": "resource"
1356
1367
  },
1357
1368
  "python.formatting.provider": {
@@ -1514,6 +1525,6 @@
1514
1525
  ]
1515
1526
  },
1516
1527
  "dependencies": {
1517
- "pyright": "^1.1.275"
1528
+ "pyright": "^1.1.280"
1518
1529
  }
1519
1530
  }
@@ -508,6 +508,12 @@
508
508
  "title": "Controls reporting of 'match' statements that do not exhaustively match all possible values",
509
509
  "default": "none"
510
510
  },
511
+ "reportShadowedImports": {
512
+ "$id": "#/properties/reportShadowedImports",
513
+ "$ref": "#/definitions/diagnostic",
514
+ "title": "Controls reporting of shadowed imports of stdlib modules",
515
+ "default": "none"
516
+ },
511
517
  "extraPaths": {
512
518
  "$id": "#/properties/extraPaths",
513
519
  "type": "array",