pypi / python-lsp-ruff
python-lsp-ruff
What changed in python-lsp-ruff 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
2 breaking5 new APIs and options1 behavior and defaults1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpython-lsp-ruff 28 changes
Breaking changes 2
Default import sorting was removed; add format = ["I"] to the config to format imports via textDocument/formatting.
Formatting requests now invoke ruff format.
New APIs and options 4
Support was added for Ruff's extension option to enable jupyterlab-lsp.
A setting was added for enabling or disabling preview rules; preview is also supported by the formatter.
Support was added for setting target-version, including for the formatter.
Support was added for the Ruff unsafe-fixes feature.
Behavior and default changes 1
Severity customization now allows pattern matching via startswith instead of requiring full rule codes.
Fixes and other changes 1
Replaces the deprecated E999 error.
python-lsp-ruff 11 changes
New APIs and options 1
The first major release of the Ruff integration into pylsp.