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

Update pre-commit to ruff #69

Merged
merged 5 commits into from
Jan 11, 2025
Merged

Update pre-commit to ruff #69

merged 5 commits into from
Jan 11, 2025

Conversation

inverse
Copy link
Collaborator

@inverse inverse commented Jan 11, 2025

Ruff is a drop in replacement for Black on the most part and is a lot more faster

paulotruta
paulotruta previously approved these changes Jan 11, 2025
Copy link
Owner

@paulotruta paulotruta left a 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"]
Copy link
Collaborator Author

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

Copy link
Owner

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.

@inverse inverse merged commit fbf4625 into main Jan 11, 2025
1 check passed
@inverse inverse deleted the update-pre-commit branch January 11, 2025 14:15
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.

2 participants