Skip to content

Releases: python-lsp/python-lsp-ruff

Python LSP ruff v2.2.2

16 Jul 11:31
4abf0ed
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.1...v2.2.2

Python LSP ruff v2.2.1

27 Apr 13:00
ba3c25f
Compare
Choose a tag to compare

Minor Bug Release

What's Changed

  • Small adjustments to the 'Fix all' action text were made by @Shane-XB-Qian in #86
  • @Ultimator14 fixed a bug where the custom executable was not used when fixing the format rules in #90

New Contributors

Full Changelog: v2.2.0...v2.2.1

Python LSP ruff v2.2.0

01 Mar 10:52
dd42768
Compare
Choose a tag to compare

With this minor release it is now possible to disable formatting using ruff with the formatEnabled option.

What's Changed

New Contributors

  • @vodik made their first contribution in #85

Full Changelog: v2.1.0...v2.2.0

Python LSP ruff v2.1.0

09 Feb 10:10
Compare
Choose a tag to compare

Minor version update: This version will require ruff>=0.2.0, which may lead to behavioural changes of the LSP. Please check out https://astral.sh/blog/ruff-v0.2.0 if you experience any changes.

What's Changed

Full Changelog: v2.0.2...v2.1.0

Python LSP ruff v2.0.2

12 Jan 09:06
Compare
Choose a tag to compare

Minor Bug fix release

What's Changed

  • Fixed a bug where the default call to ruff would not use a subcommand in the call by @jhossbach in #75

Full Changelog: v2.0.1...v2.0.2

Python LSP ruff v2.0.1

26 Dec 11:38
c018265
Compare
Choose a tag to compare

Minor bug release

What's Changed

  • Fixed a bug where python-lsp-ruff would not fall back to the python executable if ruff was not found for the given executable by @chris-reeves in #70

New Contributors

Full Changelog: v2.0.0...v2.0.1

Python LSP ruff v2.0.0

26 Nov 16:52
Compare
Choose a tag to compare

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

Python LSP ruff v1.6.0

20 Oct 08:21
be27747
Compare
Choose a tag to compare

What's Changed

  • Support new ruff version, fix wrong call to ruff through PATH by @jhossbach in #52
    • Authored by first-time constributor @kstrauser, thanks a lot for your contribution!
    • Also thanks to @znd4 for pointing out the issue with ruff not being called from the correct virtual environment at times.

Version v1.6.0 is only compatible with ruff version 0.1.0 or higher, so make sure you update accordingly.

Full Changelog: v1.5.3...v1.6.0

Python LSP ruff v1.5.3

18 Oct 08:48
b71fcd3
Compare
Choose a tag to compare

The main goal of this release is to allow users to keep ruff<0.1.0 if desired. The upcoming release v1.6.0 will be compatible with the latest version of ruff (see #48)

What's Changed

New Contributors

Full Changelog: v1.5.2...v1.5.3

Python LSP ruff v1.5.2

25 Sep 08:52
6a2bf7f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.1...v1.5.2