Unified command for linting and formatting
- Dominant language
- Rust
- Stars
- 49.6k
- Forks
- 2.4k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 445
Description
It should be possible to _check_ if files would be formatted _and_ if there are any lint violations in a single Ruff invocation.
It should be possible to _apply_ linter fixes and formatting changes in a single Ruff invocation.
The design of this interface is still being discussed internally. This issue will be updated as development continues.
Previous discussion at https://github.com/astral-sh/ruff/discussions/7310#discussioncomment-7376397, https://github.com/astral-sh/ruff/discussions/7310#discussioncomment-7102010, and https://github.com/astral-sh/ruff/issues/7232
Contributor guide
Research direction
Read the linked discussions and issue #7232 first; no source files or tests are named in the issue. Done means one Ruff invocation can check formatting and lint violations together and can apply both fixes, once the interface design is settled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100