-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
146 lines (146 loc) · 4.02 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
{
"name": "coc-pydocstring",
"version": "0.10.0",
"description": "doq (python docstring generator) extension for coc.nvim",
"author": "yaegassy <yosstools@gmail.com>",
"license": "MIT",
"main": "lib/index.js",
"keywords": [
"coc.nvim",
"python",
"docstring",
"vim",
"neovim"
],
"engines": {
"coc": "^0.0.80"
},
"repository": {
"type": "git",
"url": "https://github.com/yaegassy/coc-pydocstring"
},
"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/ini": "^1.3.31",
"@types/node": "^18.17.3",
"@types/rimraf": "^3.0.2",
"@types/tmp": "^0.2.3",
"@types/which": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"coc.nvim": "^0.0.81",
"esbuild": "^0.16.17",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"tmp": "^0.2.1",
"typescript": "^5.1.6",
"which": "^2.0.2"
},
"activationEvents": [
"onLanguage:python"
],
"contributes": {
"rootPatterns": [
{
"filetype": "python",
"patterns": [
"setup.cfg",
"pyproject.toml"
]
}
],
"configuration": {
"type": "object",
"title": "coc-pydocstring configuration",
"properties": {
"pydocstring.enable": {
"type": "boolean",
"default": true,
"description": "Enable coc-pydocstring extension"
},
"pydocstring.doqPath": {
"type": "string",
"default": "",
"description": "The path to the doq tool (Absolute path)"
},
"pydocstring.builtin.pythonPath": {
"type": "string",
"default": "",
"description": "Python 3.x path (Absolute path) to be used for built-in install"
},
"pydocstring.enableInstallPrompt": {
"type": "boolean",
"default": true,
"description": "Prompt the user before install"
},
"pydocstring.formatter": {
"type": "string",
"default": "sphinx",
"enum": [
"sphinx",
"google",
"numpy"
],
"description": "Docstring formatter. sphinx, google or numpy"
},
"pydocstring.templatePath": {
"type": "string",
"default": "",
"description": "Path to template directory. Settings starting with `/` are recognized as `absolute path`, while others are treated as `relative path` from the `workspace root`. Additionally, both `~` and `$HOME` are also available and will be expanded as `absolute path`"
},
"pydocstring.ignoreException": {
"type": "boolean",
"default": false,
"description": "Ignore exception statements"
},
"pydocstring.ignoreYield": {
"type": "boolean",
"default": false,
"description": "Ignore yield statements"
},
"pydocstring.ignoreInit": {
"type": "boolean",
"default": false,
"description": "Ignore generate docstring to `__init__` method. This option only available at `:CocCommand pydocstring.runFile`"
},
"pydocstring.enableFileAction": {
"type": "boolean",
"default": false,
"description": "Enable file-level code action"
}
}
},
"commands": [
{
"command": "pydocstring.install",
"title": "Install doq"
},
{
"command": "pydocstring.runFile",
"title": "Run doq for file"
},
{
"command": "pydocstring.showOutput",
"title": "Show pydocstring output channel"
}
]
},
"dependencies": {
"ini": "^4.1.1",
"toml": "^3.0.0"
}
}