dense-analysis / dense-analysis/ale

Should python `ruff` fixer default to pass `--no-fix` on newer versions?

Open
#4,719 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Vim Script
Stars
14k
Forks
1.5k
Avg merge
17h 49m
Merged PRs (30d)
1

Description

I recently had a lot of trouble figuring out how to configure `ruff` for use with ALE.
I found that the `ruff` linter was consistently failing with somewhat inscrutable messages.

It turned out that the default invocation pattern being used produces a fully fixed file as output under the latest `ruff` versions.

Adding `--no-fix` to the linter config fixed it, but I suspect that other users are struggling with this.
I might try to put together a PR for this at some point, but can't commit to that at present.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.