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

Use ruff in pre-commit #40

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

jeanbournhonesqueMF
Copy link

Ruff is a new linter and formatter in the python ecosystem that is already superior to other alternatives like black, isort or pydocstyle : https://github.com/astral-sh/ruff

This MR aims to use ruff in pre-commit instead of other tools. New rules can be used afterwards if needed.
I used the format and check command on the code, as well as ruff isort.

I also updated the versions of the pre commit hooks with autoupdate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant