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

fix: force `--no-fix` when `ruff` used as a linter #4759

Closed yining closed 5 months ago

yining commented 5 months ago

this commit is to fix #4756 which suggests to force disable applying fixes when linting, particularly when fix = true was set in project pyproject.toml file.

The flag --no-fix was added without checking the version of ruff at this moment as it seems to be available in a quite early version.