coc-pyright 1.1.296 → 1.1.301
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 +9645 -5058
- package/package.json +23 -6
- package/schemas/pyrightconfig.schema.json +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coc-pyright",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.301",
|
|
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",
|
|
@@ -44,17 +44,17 @@
|
|
|
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.
|
|
47
|
+
"@zzzen/pyright-internal": "^1.2.0-dev.20230326",
|
|
48
48
|
"coc.nvim": "^0.0.82",
|
|
49
49
|
"diff-match-patch": "^1.0.5",
|
|
50
|
-
"esbuild": "^0.
|
|
50
|
+
"esbuild": "^0.17.10",
|
|
51
51
|
"eslint": "^8.4.1",
|
|
52
52
|
"fs-extra": "^10.0.0",
|
|
53
53
|
"get-port": "^6.1.2",
|
|
54
54
|
"iconv-lite": "^0.6.2",
|
|
55
55
|
"md5": "^2.3.0",
|
|
56
56
|
"named-js-regexp": "^1.3.5",
|
|
57
|
-
"rimraf": "^
|
|
57
|
+
"rimraf": "^4.1.2",
|
|
58
58
|
"rxjs": "^7.4.0",
|
|
59
59
|
"rxjs-compat": "^6.6.7",
|
|
60
60
|
"semver": "^7.3.2",
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
"patterns": [
|
|
76
76
|
"app.py",
|
|
77
77
|
"setup.py",
|
|
78
|
+
"Pipfile",
|
|
78
79
|
"setup.cfg",
|
|
79
80
|
"manage.py",
|
|
80
81
|
"pyproject.toml",
|
|
@@ -108,6 +109,12 @@
|
|
|
108
109
|
"default": true,
|
|
109
110
|
"description": "Enable/disable inlay hints for variable types"
|
|
110
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
|
+
},
|
|
111
118
|
"python.analysis.extraPaths": {
|
|
112
119
|
"type": "array",
|
|
113
120
|
"default": [],
|
|
@@ -159,7 +166,6 @@
|
|
|
159
166
|
},
|
|
160
167
|
"python.analysis.diagnosticSeverityOverrides": {
|
|
161
168
|
"type": "object",
|
|
162
|
-
"default": {},
|
|
163
169
|
"description": "Allows a user to override the severity levels for individual diagnostics.",
|
|
164
170
|
"properties": {
|
|
165
171
|
"reportGeneralTypeIssues": {
|
|
@@ -833,6 +839,17 @@
|
|
|
833
839
|
"error"
|
|
834
840
|
]
|
|
835
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
|
+
},
|
|
836
853
|
"reportUnusedExpression": {
|
|
837
854
|
"type": "string",
|
|
838
855
|
"description": "Diagnostics for simple expressions whose value is not used in any way.",
|
|
@@ -1555,6 +1572,6 @@
|
|
|
1555
1572
|
]
|
|
1556
1573
|
},
|
|
1557
1574
|
"dependencies": {
|
|
1558
|
-
"pyright": "^1.1.
|
|
1575
|
+
"pyright": "^1.1.301"
|
|
1559
1576
|
}
|
|
1560
1577
|
}
|
|
@@ -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",
|