-
Notifications
You must be signed in to change notification settings - Fork 22
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
Update pre-commit to ruff #69
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, didn't use ruff yet. Looking forward!
@@ -1,2 +1,5 @@ | |||
[tool.isort] | |||
profile = "black" | |||
|
|||
[tool.ruff] | |||
lint.ignore = ["E501"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignore max line lengths for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I quite like the max_length setting :) For python, its the one I find ends up making the code very readable :P let's keep it off for now but would be cool to bring that back some day.
Ruff is a drop in replacement for Black on the most part and is a lot more faster