coc-pyright 1.1.336 → 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.
Files changed (3) hide show
  1. package/README.md +1 -0
  2. package/lib/index.js +89 -114015
  3. package/package.json +26 -23
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coc-pyright",
3
- "version": "1.1.336",
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",
@@ -34,29 +34,26 @@
34
34
  "prepare": "node esbuild.mjs"
35
35
  },
36
36
  "devDependencies": {
37
- "@types/diff-match-patch": "^1.0.32",
38
- "@types/md5": "^2.2.0",
37
+ "@types/diff-match-patch": "^1.0.36",
38
+ "@types/md5": "^2.3.5",
39
39
  "@types/minimatch": "^5.1.2",
40
40
  "@types/node": "16",
41
- "@types/semver": "^7.3.9",
42
- "@types/which": "^3.0.0",
43
- "@typescript-eslint/eslint-plugin": "^6.4.1",
44
- "@typescript-eslint/parser": "^6.4.1",
45
- "@zzzen/pyright-internal": "^1.2.0-dev.20231112",
41
+ "@types/which": "^3.0.3",
42
+ "@typescript-eslint/eslint-plugin": "^6.13.2",
43
+ "@typescript-eslint/parser": "^6.13.2",
44
+ "@zzzen/pyright-internal": "^1.2.0-dev.20231203",
46
45
  "coc.nvim": "^0.0.83-next.18",
47
46
  "diff-match-patch": "^1.0.5",
48
- "esbuild": "^0.19.2",
49
- "eslint": "^8.4.1",
47
+ "esbuild": "^0.19.8",
48
+ "eslint": "^8.55.0",
50
49
  "get-port": "^6.1.2",
51
- "iconv-lite": "^0.6.2",
50
+ "iconv-lite": "^0.6.3",
52
51
  "md5": "^2.3.0",
53
52
  "named-js-regexp": "^1.3.5",
54
- "rxjs": "^7.4.0",
55
- "rxjs-compat": "^6.6.7",
56
- "semver": "^7.3.2",
53
+ "rxjs": "^7.8.1",
57
54
  "tree-kill": "^1.2.2",
58
- "typescript": "^5.0.3",
59
- "which": "^3.0.1"
55
+ "typescript": "^5.3.2",
56
+ "which": "^4.0.0"
60
57
  },
61
58
  "prettier": {
62
59
  "singleQuote": true,
@@ -104,6 +101,11 @@
104
101
  "default": true,
105
102
  "description": "Enable/disable inlay hints for variable types"
106
103
  },
104
+ "pyright.inlayHints.parameterTypes": {
105
+ "type": "boolean",
106
+ "default": true,
107
+ "description": "Enable/disable inlay hints for parameter types"
108
+ },
107
109
  "python.analysis.indexing": {
108
110
  "type": "boolean",
109
111
  "default": true,
@@ -188,7 +190,7 @@
188
190
  },
189
191
  "python.analysis.diagnosticSeverityOverrides": {
190
192
  "type": "object",
191
- "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 \"basic\". See [here](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#diagnostic-rule-defaults) for defaults for each type checking mode (\"off\", \"basic\" and \"strict\").",
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\").",
192
194
  "scope": "resource",
193
195
  "properties": {
194
196
  "reportGeneralTypeIssues": {
@@ -229,7 +231,7 @@
229
231
  "boolean"
230
232
  ],
231
233
  "description": "Diagnostics for member accesses on functions.",
232
- "default": "none",
234
+ "default": "error",
233
235
  "enum": [
234
236
  "none",
235
237
  "information",
@@ -661,7 +663,7 @@
661
663
  "boolean"
662
664
  ],
663
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).",
664
- "default": "none",
666
+ "default": "error",
665
667
  "enum": [
666
668
  "none",
667
669
  "information",
@@ -677,7 +679,7 @@
677
679
  "boolean"
678
680
  ],
679
681
  "description": "Diagnostics for overrides in subclasses that redefine a variable in an incompatible way.",
680
- "default": "none",
682
+ "default": "error",
681
683
  "enum": [
682
684
  "none",
683
685
  "information",
@@ -709,7 +711,7 @@
709
711
  "boolean"
710
712
  ],
711
713
  "description": "Diagnostics for function overloads that overlap in signature and obscure each other or have incompatible return types.",
712
- "default": "none",
714
+ "default": "error",
713
715
  "enum": [
714
716
  "none",
715
717
  "information",
@@ -1230,10 +1232,11 @@
1230
1232
  },
1231
1233
  "python.analysis.typeCheckingMode": {
1232
1234
  "type": "string",
1233
- "default": "basic",
1235
+ "default": "standard",
1234
1236
  "enum": [
1235
1237
  "off",
1236
1238
  "basic",
1239
+ "standard",
1237
1240
  "strict"
1238
1241
  ],
1239
1242
  "description": "Defines the default rule set for type checking.",
@@ -1947,6 +1950,6 @@
1947
1950
  ]
1948
1951
  },
1949
1952
  "dependencies": {
1950
- "pyright": "^1.1.336"
1953
+ "pyright": "^1.1.339"
1951
1954
  }
1952
1955
  }