coc-pyright 1.1.269 → 1.1.271

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 +25 -12
  2. package/lib/index.js +48808 -48250
  3. package/package.json +42 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coc-pyright",
3
- "version": "1.1.269",
3
+ "version": "1.1.271",
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",
@@ -38,16 +38,16 @@
38
38
  "@types/diff-match-patch": "^1.0.32",
39
39
  "@types/fs-extra": "^9.0.2",
40
40
  "@types/md5": "^2.2.0",
41
- "@types/minimatch": "^3.0.3",
42
- "@types/node": "14",
41
+ "@types/minimatch": "^5.1.2",
42
+ "@types/node": "18",
43
43
  "@types/semver": "^7.3.9",
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.20220828",
47
+ "@zzzen/pyright-internal": "^1.2.0-dev.20220911",
48
48
  "coc.nvim": "^0.0.82",
49
49
  "diff-match-patch": "^1.0.5",
50
- "esbuild": "^0.14.2",
50
+ "esbuild": "^0.15.6",
51
51
  "eslint": "^8.4.1",
52
52
  "fs-extra": "^10.0.0",
53
53
  "get-port": "^6.1.2",
@@ -751,7 +751,7 @@
751
751
  },
752
752
  "reportUndefinedVariable": {
753
753
  "type": "string",
754
- "description": "Diagnostics for a missing or misnamed “self” parameter in instance methods and “cls” parameter in class methods. Instance methods in metaclasses (classes that derive from “type”) are allowed to use “cls” for instance methods.",
754
+ "description": "Diagnostics for undefined variables.",
755
755
  "default": "error",
756
756
  "enum": [
757
757
  "none",
@@ -1399,6 +1399,31 @@
1399
1399
  "default": "",
1400
1400
  "description": "Custom pyright-langserver path"
1401
1401
  },
1402
+ "pyright.testing.provider": {
1403
+ "type": "string",
1404
+ "default": "unittest",
1405
+ "enum": [
1406
+ "unittest",
1407
+ "pytest"
1408
+ ],
1409
+ "description": "Provider for testing, supports 'unittest' and 'pytest'."
1410
+ },
1411
+ "pyright.testing.pytestArgs": {
1412
+ "type": "array",
1413
+ "description": "Arguments passed in. Each argument is a separate item in the array.",
1414
+ "default": [],
1415
+ "items": {
1416
+ "type": "string"
1417
+ }
1418
+ },
1419
+ "pyright.testing.unittestArgs": {
1420
+ "type": "array",
1421
+ "description": "Arguments passed in. Each argument is a separate item in the array.",
1422
+ "default": [],
1423
+ "items": {
1424
+ "type": "string"
1425
+ }
1426
+ },
1402
1427
  "pyright.trace.server": {
1403
1428
  "type": "string",
1404
1429
  "scope": "window",
@@ -1443,6 +1468,16 @@
1443
1468
  "title": "Restart Server",
1444
1469
  "category": "Pyright"
1445
1470
  },
1471
+ {
1472
+ "command": "pyright.fileTest",
1473
+ "title": "Run Test for Current File",
1474
+ "category": "Pyright"
1475
+ },
1476
+ {
1477
+ "command": "pyright.singleTest",
1478
+ "title": "Run Test for Single (nearest) Test",
1479
+ "category": "Pyright"
1480
+ },
1446
1481
  {
1447
1482
  "command": "pyright.createtypestub",
1448
1483
  "title": "Creates Type Stubs with given module name",
@@ -1451,6 +1486,6 @@
1451
1486
  ]
1452
1487
  },
1453
1488
  "dependencies": {
1454
- "pyright": "^1.1.269"
1489
+ "pyright": "^1.1.271"
1455
1490
  }
1456
1491
  }