dense-analysis / ale

Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
BSD 2-Clause "Simplified" License
13.51k stars 1.43k forks source link

Adding support for ruff formatter #4645

Closed crimsonknave closed 10 months ago

crimsonknave commented 11 months ago

Adds support for the new ruff formatter as requested in #4609. I took the existing ruff fixer and made a version that runs the format command. That way the user can opt into either or both of them.

This is built on top of #4347 and #4393 and contains only a few tweaks (the version checking was removed because the formatter was added well after the version in question).

sbv-csis commented 11 months ago

Running this as my ALE now. My project just deprecated black infavor of ruff format :+1:

w0rp commented 10 months ago

Have a look at the CI issues.