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

Add ruff powered lint and fmt #555

Merged
merged 2 commits into from Jan 22, 2024
Merged

Add ruff powered lint and fmt #555

merged 2 commits into from Jan 22, 2024

Conversation

mitsuhiko
Copy link
Collaborator

This adds two new commands fmt (aliased to format) and lint (aliased to check) which invoke ruff. This is similar to how cargo fmt and cargo clippy invoke rustfmt and clippy behind the scenes.

I do want to make this configurable in the future, but this is a good starting point.

@mitsuhiko mitsuhiko merged commit 76d1c79 into main Jan 22, 2024
12 checks passed
@mitsuhiko mitsuhiko deleted the feature/add-ruff branch January 22, 2024 11:47
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

Successfully merging this pull request may close these issues.

None yet

1 participant