dense-analysis / ale

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

Fix: ruff version `0.3.0` cli breaking changes #4732

Closed yining closed 8 months ago

yining commented 8 months ago

This commit appends check to the ruff executable if the version of specified ruff executable is >= 0.3.0, as ruff version 0.3.0 deprecates ruff <path> in favor of ruff check <path>:

https://github.com/astral-sh/ruff/releases/tag/v0.3.0