coc-pyright 1.1.298 → 1.1.303

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.298",
3
+ "version": "1.1.303",
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",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/diff-match-patch": "^1.0.32",
39
- "@types/fs-extra": "^9.0.2",
39
+ "@types/fs-extra": "^11.0.1",
40
40
  "@types/md5": "^2.2.0",
41
41
  "@types/minimatch": "^5.1.2",
42
42
  "@types/node": "18",
@@ -44,12 +44,12 @@
44
44
  "@types/which": "^2.0.0",
45
45
  "@typescript-eslint/eslint-plugin": "^5.6.0",
46
46
  "@typescript-eslint/parser": "^5.6.0",
47
- "@zzzen/pyright-internal": "^1.2.0-dev.20230312",
47
+ "@zzzen/pyright-internal": "^1.2.0-dev.20230409",
48
48
  "coc.nvim": "^0.0.82",
49
49
  "diff-match-patch": "^1.0.5",
50
50
  "esbuild": "^0.17.10",
51
51
  "eslint": "^8.4.1",
52
- "fs-extra": "^10.0.0",
52
+ "fs-extra": "^11.1.1",
53
53
  "get-port": "^6.1.2",
54
54
  "iconv-lite": "^0.6.2",
55
55
  "md5": "^2.3.0",
@@ -59,7 +59,7 @@
59
59
  "rxjs-compat": "^6.6.7",
60
60
  "semver": "^7.3.2",
61
61
  "tree-kill": "^1.2.2",
62
- "typescript": "^4.5.3",
62
+ "typescript": "^5.0.3",
63
63
  "untildify": "^4.0.0",
64
64
  "which": "^2.0.2"
65
65
  },
@@ -109,6 +109,12 @@
109
109
  "default": true,
110
110
  "description": "Enable/disable inlay hints for variable types"
111
111
  },
112
+ "python.analysis.indexing": {
113
+ "type": "boolean",
114
+ "default": true,
115
+ "description": "Index installed third party libraries and user files for language features such as auto-import, add import, workspace symbols and etc.",
116
+ "scope": "resource"
117
+ },
112
118
  "python.analysis.extraPaths": {
113
119
  "type": "array",
114
120
  "default": [],
@@ -160,7 +166,6 @@
160
166
  },
161
167
  "python.analysis.diagnosticSeverityOverrides": {
162
168
  "type": "object",
163
- "default": {},
164
169
  "description": "Allows a user to override the severity levels for individual diagnostics.",
165
170
  "properties": {
166
171
  "reportGeneralTypeIssues": {
@@ -834,6 +839,17 @@
834
839
  "error"
835
840
  ]
836
841
  },
842
+ "reportImplicitOverride": {
843
+ "type": "string",
844
+ "description": "Diagnostics for overridden methods that do not include an `@override` decorator.",
845
+ "default": "none",
846
+ "enum": [
847
+ "none",
848
+ "information",
849
+ "warning",
850
+ "error"
851
+ ]
852
+ },
837
853
  "reportUnusedExpression": {
838
854
  "type": "string",
839
855
  "description": "Diagnostics for simple expressions whose value is not used in any way.",
@@ -1556,6 +1572,6 @@
1556
1572
  ]
1557
1573
  },
1558
1574
  "dependencies": {
1559
- "pyright": "^1.1.298"
1575
+ "pyright": "^1.1.303"
1560
1576
  }
1561
1577
  }
@@ -93,7 +93,7 @@
93
93
  "$id": "#/properties/useLibraryCodeForTypes",
94
94
  "type": "boolean",
95
95
  "title": "Use library implementations to extract type information when type stub is not present",
96
- "default": false
96
+ "default": true
97
97
  },
98
98
  "typeshedPath": {
99
99
  "$id": "#/properties/typeshedPath",
@@ -526,6 +526,12 @@
526
526
  "title": "Controls reporting of shadowed imports of stdlib modules",
527
527
  "default": "none"
528
528
  },
529
+ "reportImplicitOverride": {
530
+ "$id": "#/properties/reportImplicitOverride",
531
+ "$ref": "#/definitions/diagnostic",
532
+ "title": "Controls reporting overridden methods that are missing an `@override` decorator",
533
+ "default": "none"
534
+ },
529
535
  "extraPaths": {
530
536
  "$id": "#/properties/extraPaths",
531
537
  "type": "array",