github python-lsp/python-lsp-ruff v2.0.0
Python LSP ruff v2.0.0

latest releases: v2.2.2, v2.2.1, v2.2.0...
21 months ago

Breaking changes in v2.0.0

Code formatting with ruff has been reformatted in this new release, ruff format is now called to apply formatting. In addition, the default rules for formatting (namely import sorting) has been removed. To get formatting of imports via textDocument/formatting, add format = ["I"] to your config.

Other changes with this release:

  • New support for various features of ruff (target-version, unsafe-fixes, preview )
  • An updated severity customization that allows for pattern matching (via the startswith method) instead of full rule codes

Big thanks to everyone helping this project!

In Detail

New Contributors

Full Changelog: v1.6.0...v2.0.0

Don't miss a new python-lsp-ruff release

NewReleases is sending notifications on new releases.