coc-pyright 1.1.304 → 1.1.307

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.304",
3
+ "version": "1.1.307",
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",
@@ -31,8 +31,8 @@
31
31
  "schema": "curl -o schemas/pyrightconfig.schema.json https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json && node diff.mjs",
32
32
  "clean": "rimraf lib",
33
33
  "lint": "eslint src --ext ts",
34
- "build": "node esbuild.js",
35
- "prepare": "node esbuild.js"
34
+ "build": "node esbuild.mjs",
35
+ "prepare": "node esbuild.mjs"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/diff-match-patch": "^1.0.32",
@@ -44,7 +44,7 @@
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.20230416",
47
+ "@zzzen/pyright-internal": "^1.2.0-dev.20230507",
48
48
  "coc.nvim": "^0.0.82",
49
49
  "diff-match-patch": "^1.0.5",
50
50
  "esbuild": "^0.17.10",
@@ -54,7 +54,7 @@
54
54
  "iconv-lite": "^0.6.2",
55
55
  "md5": "^2.3.0",
56
56
  "named-js-regexp": "^1.3.5",
57
- "rimraf": "^4.1.2",
57
+ "rimraf": "^5.0.0",
58
58
  "rxjs": "^7.4.0",
59
59
  "rxjs-compat": "^6.6.7",
60
60
  "semver": "^7.3.2",
@@ -1349,6 +1349,21 @@
1349
1349
  "description": "Path to Black, you can use a custom version of Black by modifying this setting to include the full path.",
1350
1350
  "scope": "resource"
1351
1351
  },
1352
+ "python.formatting.pyinkArgs": {
1353
+ "type": "array",
1354
+ "description": "Arguments passed in. Each argument is a separate item in the array.",
1355
+ "default": [],
1356
+ "items": {
1357
+ "type": "string"
1358
+ },
1359
+ "scope": "resource"
1360
+ },
1361
+ "python.formatting.pyinkPath": {
1362
+ "type": "string",
1363
+ "default": "pyink",
1364
+ "description": "Path to Pyink, you can use a custom version of Black by modifying this setting to include the full path.",
1365
+ "scope": "resource"
1366
+ },
1352
1367
  "python.formatting.darkerArgs": {
1353
1368
  "type": "array",
1354
1369
  "description": "Arguments passed in. Each argument is a separate item in the array.",
@@ -1415,11 +1430,12 @@
1415
1430
  "python.formatting.provider": {
1416
1431
  "type": "string",
1417
1432
  "default": "autopep8",
1418
- "description": "Provider for formatting. Possible options include 'autopep8', 'black', and 'yapf'.",
1433
+ "description": "Provider for formatting.",
1419
1434
  "enum": [
1420
1435
  "autopep8",
1421
1436
  "darker",
1422
1437
  "black",
1438
+ "pyink",
1423
1439
  "blackd",
1424
1440
  "yapf",
1425
1441
  "none"
@@ -1477,6 +1493,7 @@
1477
1493
  "description": "Organize imports provider",
1478
1494
  "enum": [
1479
1495
  "pyright",
1496
+ "ruff",
1480
1497
  "isort"
1481
1498
  ]
1482
1499
  },
@@ -1572,6 +1589,6 @@
1572
1589
  ]
1573
1590
  },
1574
1591
  "dependencies": {
1575
- "pyright": "^1.1.304"
1592
+ "pyright": "^1.1.307"
1576
1593
  }
1577
1594
  }