coc-pyright 1.1.272 → 1.1.275

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 +4 -3
  2. package/lib/index.js +701 -476
  3. package/package.json +36 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coc-pyright",
3
- "version": "1.1.272",
3
+ "version": "1.1.275",
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,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.20220918",
47
+ "@zzzen/pyright-internal": "^1.2.0-dev.20221016",
48
48
  "coc.nvim": "^0.0.82",
49
49
  "diff-match-patch": "^1.0.5",
50
50
  "esbuild": "^0.15.6",
@@ -97,11 +97,6 @@
97
97
  "default": true,
98
98
  "description": "Enable coc-pyright extension"
99
99
  },
100
- "pyright.inlayHints.enable": {
101
- "type": "boolean",
102
- "default": true,
103
- "description": "Enable/disable inlay hints feature"
104
- },
105
100
  "pyright.inlayHints.functionReturnTypes": {
106
101
  "type": "boolean",
107
102
  "default": true,
@@ -1134,6 +1129,39 @@
1134
1129
  "description": "Path to pydocstyle, you can use a custom version of pydocstyle by modifying this setting to include the full path.",
1135
1130
  "scope": "resource"
1136
1131
  },
1132
+ "python.linting.pyflakesEnabled": {
1133
+ "type": "boolean",
1134
+ "default": false,
1135
+ "description": "Whether to lint Python files using pyflakes.",
1136
+ "scope": "resource"
1137
+ },
1138
+ "python.linting.pyflakesPath": {
1139
+ "type": "string",
1140
+ "default": "pyflakes",
1141
+ "description": "Path to pyflakes, you can use a custom version of pyflakes by modifying this setting to include the full path.",
1142
+ "scope": "resource"
1143
+ },
1144
+ "python.linting.ruffEnabled": {
1145
+ "type": "boolean",
1146
+ "default": false,
1147
+ "description": "Whether to lint Python files using ruff.",
1148
+ "scope": "resource"
1149
+ },
1150
+ "python.linting.ruffPath": {
1151
+ "type": "string",
1152
+ "default": "ruff",
1153
+ "description": "Path to ruff, you can use a custom version of ruff by modifying this setting to include the full path.",
1154
+ "scope": "resource"
1155
+ },
1156
+ "python.linting.ruffArgs": {
1157
+ "type": "array",
1158
+ "description": "Arguments passed in. Each argument is a separate item in the array.",
1159
+ "default": [],
1160
+ "items": {
1161
+ "type": "string"
1162
+ },
1163
+ "scope": "resource"
1164
+ },
1137
1165
  "python.linting.pylamaArgs": {
1138
1166
  "type": "array",
1139
1167
  "description": "Arguments passed in. Each argument is a separate item in the array.",
@@ -1486,6 +1514,6 @@
1486
1514
  ]
1487
1515
  },
1488
1516
  "dependencies": {
1489
- "pyright": "^1.1.272"
1517
+ "pyright": "^1.1.275"
1490
1518
  }
1491
1519
  }