Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format command exits early #505

Open
cnpryer opened this issue Mar 27, 2023 · 1 comment
Open

Format command exits early #505

cnpryer opened this issue Mar 27, 2023 · 1 comment
Milestone

Comments

@cnpryer
Copy link
Owner

cnpryer commented Mar 27, 2023

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 cnpryer changed the title Lint command prioritizes ruff Format prioritizes black and lint prioritizes ruff Mar 28, 2023
@cnpryer
Copy link
Owner Author

cnpryer commented Oct 26, 2023

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

@cnpryer cnpryer added this to the General-use release milestone Oct 26, 2023
@cnpryer cnpryer mentioned this issue Nov 16, 2023
28 tasks
@cnpryer cnpryer changed the title Format prioritizes black and lint prioritizes ruff Format command exits early Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant