-
Notifications
You must be signed in to change notification settings - Fork 450
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
Use ruff #899
Labels
Comments
This was referenced May 22, 2024
Merged
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ruff is a very fast linter and formatter. It combines some of the tools we use right now and offers many more. We could simplify the existing linting and give all developers more direct feedback/ enforce more lint rules when using it, via
pre-commit
+ uniform and better IDE/ CLI feedback.Advantages:
pre-commit
. Likeblack
but with linting.We could add it in multiple steps:
Nothing of this is urgent. I just added a PR for the first step, so people can play around and are not buried in warnings.
Tools:
In use right now (
pre-commit
).Formatter:
Linter:
Static type checker
And tons of more stuff can be set up: Rules - Ruff
The text was updated successfully, but these errors were encountered: