|
1 | 1 | { |
2 | 2 | "name": "ide-python", |
3 | 3 | "main": "./lib/main", |
4 | | - "version": "0.8.2", |
| 4 | + "version": "0.9.0", |
5 | 5 | "description": "Python language support for Atom-IDE", |
6 | 6 | "keywords": [ |
7 | 7 | "ide", |
|
28 | 28 | "dependencies": { |
29 | 29 | "atom-languageclient": "^0.9.1" |
30 | 30 | }, |
31 | | - "enhancedScopes": ["source.python"], |
| 31 | + "enhancedScopes": [ |
| 32 | + "source.python" |
| 33 | + ], |
32 | 34 | "configSchema": { |
33 | 35 | "pylsPath": { |
34 | 36 | "title": "Python Language Server Path", |
|
40 | 42 | "pylsConfigurationSources": { |
41 | 43 | "order": 2, |
42 | 44 | "type": "array", |
43 | | - "default": ["pycodestyle", "flake8"], |
| 45 | + "default": [ |
| 46 | + "pycodestyle", |
| 47 | + "flake8" |
| 48 | + ], |
44 | 49 | "description": "List of configuration sources to use. Requires `pyls` 0.12.1+", |
45 | 50 | "items": { |
46 | 51 | "type": "string", |
47 | | - "enum": ["pycodestyle", "flake8"] |
| 52 | + "enum": [ |
| 53 | + "pycodestyle", |
| 54 | + "flake8" |
| 55 | + ] |
48 | 56 | } |
49 | 57 | }, |
50 | 58 | "ropeFolder": { |
51 | 59 | "order": 3, |
52 | | - "type": ["string", null], |
| 60 | + "type": [ |
| 61 | + "string", |
| 62 | + null |
| 63 | + ], |
53 | 64 | "default": ".ropeproject", |
54 | | - "description": |
55 | | - "The name of the folder in which rope stores project configurations and data. If empty, no such a folder is used at all. Requires `pyls` 0.17+" |
| 65 | + "description": "The name of the folder in which rope stores project configurations and data. If empty, no such a folder is used at all. Requires `pyls` 0.17+" |
56 | 66 | }, |
57 | 67 | "pylsPlugins": { |
58 | 68 | "title": "Python Language Server Plugins", |
|
133 | 143 | "title": "All Scopes", |
134 | 144 | "type": "boolean", |
135 | 145 | "default": true, |
136 | | - "description": |
137 | | - "If enabled lists the names of all scopes instead of only the module namespace. Requires `pyls` 0.7+" |
| 146 | + "description": "If enabled lists the names of all scopes instead of only the module namespace. Requires `pyls` 0.7+" |
138 | 147 | } |
139 | 148 | } |
140 | 149 | }, |
|
152 | 161 | "title": "Threshold", |
153 | 162 | "type": "number", |
154 | 163 | "default": 15, |
155 | | - "description": |
156 | | - "The minimum threshold that triggers warnings about cyclomatic complexity." |
| 164 | + "description": "The minimum threshold that triggers warnings about cyclomatic complexity." |
157 | 165 | } |
158 | 166 | } |
159 | 167 | }, |
|
182 | 190 | "order": 3, |
183 | 191 | "title": "Ignore", |
184 | 192 | "type": "array", |
185 | | - "default": ["E121", "E123", "E126", "E226", "E24", "E704", "W503"], |
| 193 | + "default": [ |
| 194 | + "E121", |
| 195 | + "E123", |
| 196 | + "E126", |
| 197 | + "E226", |
| 198 | + "E24", |
| 199 | + "E704", |
| 200 | + "W503" |
| 201 | + ], |
186 | 202 | "items": { |
187 | 203 | "type": "string" |
188 | 204 | }, |
|
193 | 209 | "title": "Hang Closing", |
194 | 210 | "type": "boolean", |
195 | 211 | "default": false, |
196 | | - "description": |
197 | | - "Hang closing bracket instead of matching indentation of opening bracket's line. Requires `pyls` 0.12.1+" |
| 212 | + "description": "Hang closing bracket instead of matching indentation of opening bracket's line. Requires `pyls` 0.12.1+" |
198 | 213 | }, |
199 | 214 | "maxLineLength": { |
200 | 215 | "order": 5, |
|
221 | 236 | "title": "Match", |
222 | 237 | "type": "string", |
223 | 238 | "default": "(?!test_).*\\.py", |
224 | | - "description": |
225 | | - "Check only files that exactly match the given regular expression; default is to match files that don't start with 'test_' but end with '.py'. Requires `pyls` 0.17+" |
| 239 | + "description": "Check only files that exactly match the given regular expression; default is to match files that don't start with 'test_' but end with '.py'. Requires `pyls` 0.17+" |
226 | 240 | }, |
227 | 241 | "matchDir": { |
228 | 242 | "order": 3, |
229 | 243 | "title": "Match Dir", |
230 | 244 | "type": "string", |
231 | 245 | "default": "[^\\.].*", |
232 | | - "description": |
233 | | - "Search only dirs that exactly match the given regular expression; default is to match dirs which do not begin with a dot. Requires `pyls` 0.17+" |
| 246 | + "description": "Search only dirs that exactly match the given regular expression; default is to match dirs which do not begin with a dot. Requires `pyls` 0.17+" |
234 | 247 | }, |
235 | 248 | "select": { |
236 | 249 | "order": 4, |
|
256 | 269 | "order": 6, |
257 | 270 | "title": "Convention", |
258 | 271 | "type": "string", |
259 | | - "enum": ["pep257", "numpy", ""], |
| 272 | + "enum": [ |
| 273 | + "pep257", |
| 274 | + "numpy", |
| 275 | + "" |
| 276 | + ], |
260 | 277 | "default": "", |
261 | | - "description": |
262 | | - "Choose the basic list of checked errors by specifying an existing convention. Requires `pyls` 0.17+" |
| 278 | + "description": "Choose the basic list of checked errors by specifying an existing convention. Requires `pyls` 0.17+" |
263 | 279 | }, |
264 | 280 | "addSelect": { |
265 | 281 | "order": 7, |
|
269 | 285 | "items": { |
270 | 286 | "type": "string" |
271 | 287 | }, |
272 | | - "description": |
273 | | - "Select errors and warnings in addition to the specified convention. Requires `pyls` 0.17+" |
| 288 | + "description": "Select errors and warnings in addition to the specified convention. Requires `pyls` 0.17+" |
274 | 289 | }, |
275 | 290 | "addIgnore": { |
276 | 291 | "order": 8, |
|
280 | 295 | "items": { |
281 | 296 | "type": "string" |
282 | 297 | }, |
283 | | - "description": |
284 | | - "Ignore errors and warnings in addition to the specified convention. Requires `pyls` 0.17+" |
| 298 | + "description": "Ignore errors and warnings in addition to the specified convention. Requires `pyls` 0.17+" |
285 | 299 | } |
286 | 300 | } |
287 | 301 | }, |
|
317 | 331 | "title": "Enabled", |
318 | 332 | "type": "boolean", |
319 | 333 | "default": false, |
320 | | - "description": |
321 | | - "Enable or disable Yapf. If both Yapf and autopep8 are enabled the latter is prefered." |
| 334 | + "description": "Enable or disable Yapf. If both Yapf and autopep8 are enabled the latter is prefered." |
322 | 335 | } |
323 | 336 | } |
324 | 337 | }, |
|
330 | 343 | "title": "Enabled", |
331 | 344 | "type": "boolean", |
332 | 345 | "default": true, |
333 | | - "description": |
334 | | - "Enable or disable autopep8. Formats code according to PyCodeStyle config. Requires `pyls` 0.17+" |
| 346 | + "description": "Enable or disable autopep8. Formats code according to PyCodeStyle config. Requires `pyls` 0.17+" |
335 | 347 | } |
336 | 348 | } |
337 | 349 | } |
|
0 commit comments