Skip to content

Python LSP ruff v2.0.0

Compare
Choose a tag to compare
@jhossbach jhossbach released this 26 Nov 16:52
· 26 commits to main since this release

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