This repository has been archived by the owner on Aug 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 4.73 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "@yaegassy/coc-pyright-tools",
"version": "0.0.1",
"description": "coc-pyright-tools is a coc-extension that adds its own functionality to coc-pyright for coc.nvim",
"author": "yaegassy <yosstools@gmail.com>",
"license": "MIT",
"main": "lib/index.js",
"keywords": [
"coc.nvim"
],
"engines": {
"coc": "^0.0.81"
},
"repository": {
"type": "git",
"url": "https://github.com/yaegassy/coc-pyright-tools"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"lint": "eslint src --ext ts",
"clean": "rimraf lib",
"watch": "node esbuild.js --watch",
"build": "node esbuild.js",
"prepare": "node esbuild.js"
},
"prettier": {
"singleQuote": true,
"printWidth": 120,
"semi": true
},
"devDependencies": {
"@types/node": "^16.11.47",
"@types/which": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"coc.nvim": "0.0.81",
"esbuild": "^0.14.54",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"typescript": "^4.7.4",
"which": "^2.0.2"
},
"activationEvents": [
"onLanguage:python"
],
"contributes": {
"configuration": {
"type": "object",
"title": "coc-pyright-tools configuration",
"properties": {
"pyright-tools.enable": {
"type": "boolean",
"default": true,
"description": "Enable coc-pyright-tools extension"
},
"pyright-tools.python.interpreterPath": {
"scope": "resource",
"type": "string",
"default": "",
"description": "Path to the Python interpreter executable. Particularly important if you are using a Python virtual environment. Leave blank to use Python from PATH."
},
"pyright-tools.inlayHints.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable inlay hints feature"
},
"pyright-tools.inlayHints.functionReturnTypes": {
"type": "boolean",
"default": true,
"description": "Enable/disable inlay hints for function return types"
},
"pyright-tools.inlayHints.variableTypes": {
"type": "boolean",
"default": true,
"description": "Enable/disable inlay hints for variable types"
},
"pyright-tools.codeLens.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable codelens feature"
},
"pyright-tools.codeLens.testFramework": {
"type": "string",
"default": "unittest",
"description": "Testing framework used by codelens",
"enum": [
"unittest",
"pytest"
]
},
"pyright-tools.codeLens.unittestTitle": {
"type": "string",
"default": ">> [Run unittest]",
"description": "CodeLens title. Can be changed to any display."
},
"pyright-tools.codeLens.pytestTitle": {
"type": "string",
"default": ">> [Run pytest]",
"description": "CodeLens title. Can be changed to any display."
},
"pyright-tools.test.unittestArgs": {
"type": "array",
"description": "Arguments passed in. Each argument is a separate item in the array.",
"default": [],
"items": {
"type": "string"
},
"scope": "resource"
},
"pyright-tools.test.pytestArgs": {
"type": "array",
"description": "Arguments passed in. Each argument is a separate item in the array.",
"default": [],
"items": {
"type": "string"
},
"scope": "resource"
},
"pyright-tools.terminal.enableSplitRight": {
"type": "boolean",
"default": false,
"description": "Use vertical belowright for unittest/pytest terminal window."
}
}
},
"commands": [
{
"command": "pyright-tools.toggleInlayHints",
"title": "Toggle enable/disable inlay hints"
},
{
"command": "pyright-tools.unittest.fileTest",
"title": "Run unittest for current file"
},
{
"command": "pyright-tools.unittest.singleTest",
"title": "Run unittest for single (nearest) test"
},
{
"command": "pyright-tools.pytest.fileTest",
"title": "Run pytest for current file"
},
{
"command": "pyright-tools.pytest.singleTest",
"title": "Run pytest for single (nearest) test"
}
]
},
"dependencies": {
"@zzzen/pyright-internal": "^1.2.0-dev.20220814"
}
}