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

Add support for `ruff format` #4609

Closed JaRoSchm closed 10 months ago

JaRoSchm commented 1 year ago

Name: ruff URL: https://github.com/astral-sh/ruff/

In their last release ruff added a new formatter option. The style is intended to be compatible with black. The documentation of the formatter can be found here: https://github.com/astral-sh/ruff/blob/main/crates/ruff_python_formatter/README.md

treyhunner commented 11 months ago

ruff format was in alpha. It's now in beta and the ruff team has deemed it production-ready.

It would be great to see support for this!

crimsonknave commented 10 months ago

4645 added the ruff_format fixer. This issue should be resolved.

JaRoSchm commented 10 months ago

Thanks!