Skip to content

Conversation

@magnuslarsen
Copy link
Contributor

@magnuslarsenmagnuslarsen commented Feb 7, 2024

This fixes#79 - there are no deprecated/breaking changes that affects python-lsp-ruff, so we can safely bump to include ruff 0.2.x

And now that ruff has a formatter that is enabled by default, we should disable the default-enabled formatters, like python-lsp-black does:
https://github.com/python-lsp/python-lsp-black/blob/307e87dbf74ff0227991d88cbc734113ce3fff68/pylsp_black/plugin.py#L60-L61

(I had an annoying issue with these and ruff fighting)

Ref: https://astral.sh/blog/ruff-v0.2.0 - https://github.com/astral-sh/ruff/releases/tag/v0.2.0

Co-authored-by: Carlos Cordoba <[email protected]>
@magnuslarsenmagnuslarsen changed the title Allow ruff 0.3.x; disable default enabled formattersAllow ruff 0.2.x; disable default enabled formattersFeb 8, 2024
@jhossbach
Copy link
Member

LGTM, thanks a lot for your contribution!

@jhossbachjhossbach merged commit f9824d2 into python-lsp:mainFeb 9, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ruff 0.2.0 Support

3 participants

@magnuslarsen@jhossbach@ccordoba12