Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 869 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 869 Bytes

python-lsp-isort

isort plugin for the Python LSP Server.

Install

In the same virtualenv as python-lsp-server:

pip install python-lsp-isort

Configuration

The plugin follows python-lsp-server's configuration. These are the valid configuration keys:

  • pylsp.plugins.isort.enabled: boolean to enable/disable the plugin. true by default.
  • pylsp.plugins.isort.*: any other key-value pair under pylsp.plugins.isort is passed to isort.settings.Config. See the reference for details.

Note that any configurations passed to isort via pylsp are ignored when isort detects a config file, such as pyproject.toml.