Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This server can be configured using the `workspace/didChangeConfiguration` metho
| `pylsp.plugins.flake8.indentSize` | `integer` | Set indentation spaces. | `null` |
| `pylsp.plugins.flake8.perFileIgnores` | `array` of `string` items | A pairing of filenames and violation codes that defines which violations to ignore in a particular file, for example: `["file_path.py:W305,W304"]`). | `[]` |
| `pylsp.plugins.flake8.select` | `array` of unique `string` items | List of errors and warnings to enable. | `null` |
| `pylsp.plugins.jedi.auto_import_modules` | `array` of `string` items | List of module names for jedi.settings.auto_import_modules. | `["numpy"]` |
| `pylsp.plugins.jedi.auto_import_modules` | `array` of `string` items | Modules Jedi imports for runtime introspection. To complete submodule names in statements such as `import numpy.polynomial.`, remove `numpy` from the list (use `[]` if it is the only entry). Jedi then analyzes NumPy statically and may lose docstrings for universal functions such as `numpy.cosh`. | `["numpy"]` |
| `pylsp.plugins.jedi.extra_paths` | `array` of `string` items | Define extra paths for jedi.Script. | `[]` |
| `pylsp.plugins.jedi.prioritize_extra_paths` | `boolean` | Whether to place extra_paths at the beginning (true) or end (false) of `sys.path` | `false` |
| `pylsp.plugins.jedi.env_vars` | `object` | Define environment variables for jedi.Script and Jedi.names. | `null` |
Expand Down
2 changes: 1 addition & 1 deletion pylsp/config/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"items": {
"type": "string"
},
"description": "List of module names for jedi.settings.auto_import_modules."
"description": "Modules Jedi imports for runtime introspection. To complete submodule names in statements such as `import numpy.polynomial.`, remove `numpy` from the list (use `[]` if it is the only entry). Jedi then analyzes NumPy statically and may lose docstrings for universal functions such as `numpy.cosh`."
},
"pylsp.plugins.jedi.extra_paths": {
"type": "array",
Expand Down