huak icon indicating copy to clipboard operation
huak copied to clipboard

Format command exits early

Open cnpryer opened this issue 1 year ago • 1 comments

Currently ruff doesn't implement type-checking (afaik), but I'm pretty sure that it is on ruff's development radar for the future. Until then huak lint is meant to implement general code linting -- which, to huak, includes type-checking. To do this, and to retain -- option passing, huak lint has to prioritize one tool since only one can receive the trailing arguments.

In the future I'd like to implement huak ruff analogous to cargo clippy, but it would need to be done when ruff consolidates more of huak's desired linting scope. This does not exclude a huak ruff that replaces huak lint and huak fmt.

The same case with huak fmt but for black.

cnpryer avatar Mar 27 '23 17:03 cnpryer

Note black has been replaced with ruff but the same behavior will occur with the format step used.

cnpryer avatar Oct 26 '23 20:10 cnpryer