IssueRaiser

Unified command for linting and formatting

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

Posted by zanieb on Oct 25, 2023, 10:07 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments

github (Software)

Unified command for linting and formatting

zaniebOct 25, 2023, 10:07 PM

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

Comments (0)

No comments yet. Start the discussion.

Comment on this issue