coc-pyright 1.1.337 → 1.1.339
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 +63 -63
- package/package.json +14 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coc-pyright",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.339",
|
|
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",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"@types/minimatch": "^5.1.2",
|
|
40
40
|
"@types/node": "16",
|
|
41
41
|
"@types/which": "^3.0.3",
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
43
|
-
"@typescript-eslint/parser": "^6.
|
|
44
|
-
"@zzzen/pyright-internal": "^1.2.0-dev.
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
|
43
|
+
"@typescript-eslint/parser": "^6.13.2",
|
|
44
|
+
"@zzzen/pyright-internal": "^1.2.0-dev.20231203",
|
|
45
45
|
"coc.nvim": "^0.0.83-next.18",
|
|
46
46
|
"diff-match-patch": "^1.0.5",
|
|
47
|
-
"esbuild": "^0.19.
|
|
48
|
-
"eslint": "^8.
|
|
47
|
+
"esbuild": "^0.19.8",
|
|
48
|
+
"eslint": "^8.55.0",
|
|
49
49
|
"get-port": "^6.1.2",
|
|
50
50
|
"iconv-lite": "^0.6.3",
|
|
51
51
|
"md5": "^2.3.0",
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
},
|
|
191
191
|
"python.analysis.diagnosticSeverityOverrides": {
|
|
192
192
|
"type": "object",
|
|
193
|
-
"description": "Allows a user to override the severity levels for individual diagnostics. Use the rule name as a key and one of \"error\", \"warning\", \"information\", \"none\", `true` (alias for \"error\") or `false` (alias for \"none\") as value. The default value shown for each diagnostic is the default when \"python.analysis.typeCheckingMode\" is set to \"
|
|
193
|
+
"description": "Allows a user to override the severity levels for individual diagnostics. Use the rule name as a key and one of \"error\", \"warning\", \"information\", \"none\", `true` (alias for \"error\") or `false` (alias for \"none\") as value. The default value shown for each diagnostic is the default when \"python.analysis.typeCheckingMode\" is set to \"standard\". See [here](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#diagnostic-rule-defaults) for defaults for each type checking mode (\"off\", \"basic\", \"standard\", and \"strict\").",
|
|
194
194
|
"scope": "resource",
|
|
195
195
|
"properties": {
|
|
196
196
|
"reportGeneralTypeIssues": {
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
"boolean"
|
|
232
232
|
],
|
|
233
233
|
"description": "Diagnostics for member accesses on functions.",
|
|
234
|
-
"default": "
|
|
234
|
+
"default": "error",
|
|
235
235
|
"enum": [
|
|
236
236
|
"none",
|
|
237
237
|
"information",
|
|
@@ -663,7 +663,7 @@
|
|
|
663
663
|
"boolean"
|
|
664
664
|
],
|
|
665
665
|
"description": "Diagnostics for methods that override a method of the same name in a base class in an incompatible manner (wrong number of parameters, incompatible parameter types, or incompatible return type).",
|
|
666
|
-
"default": "
|
|
666
|
+
"default": "error",
|
|
667
667
|
"enum": [
|
|
668
668
|
"none",
|
|
669
669
|
"information",
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
"boolean"
|
|
680
680
|
],
|
|
681
681
|
"description": "Diagnostics for overrides in subclasses that redefine a variable in an incompatible way.",
|
|
682
|
-
"default": "
|
|
682
|
+
"default": "error",
|
|
683
683
|
"enum": [
|
|
684
684
|
"none",
|
|
685
685
|
"information",
|
|
@@ -711,7 +711,7 @@
|
|
|
711
711
|
"boolean"
|
|
712
712
|
],
|
|
713
713
|
"description": "Diagnostics for function overloads that overlap in signature and obscure each other or have incompatible return types.",
|
|
714
|
-
"default": "
|
|
714
|
+
"default": "error",
|
|
715
715
|
"enum": [
|
|
716
716
|
"none",
|
|
717
717
|
"information",
|
|
@@ -1232,10 +1232,11 @@
|
|
|
1232
1232
|
},
|
|
1233
1233
|
"python.analysis.typeCheckingMode": {
|
|
1234
1234
|
"type": "string",
|
|
1235
|
-
"default": "
|
|
1235
|
+
"default": "standard",
|
|
1236
1236
|
"enum": [
|
|
1237
1237
|
"off",
|
|
1238
1238
|
"basic",
|
|
1239
|
+
"standard",
|
|
1239
1240
|
"strict"
|
|
1240
1241
|
],
|
|
1241
1242
|
"description": "Defines the default rule set for type checking.",
|
|
@@ -1949,6 +1950,6 @@
|
|
|
1949
1950
|
]
|
|
1950
1951
|
},
|
|
1951
1952
|
"dependencies": {
|
|
1952
|
-
"pyright": "^1.1.
|
|
1953
|
+
"pyright": "^1.1.339"
|
|
1953
1954
|
}
|
|
1954
1955
|
}
|