-
Notifications
You must be signed in to change notification settings - Fork 136
Try out ruff
#227
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
base: master
Are you sure you want to change the base?
Try out ruff
#227
Conversation
mielvds
left a comment
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.
Big supporter of this; I use ruff myself. Flake8 is also fine, as long as there is some formatter. Ruff includes flake8 & beyond, so obvious choice
|
@anatoly-scherbakov maybe one question: is the config aligned with the one from rdflib? |
|
@mielvds not sure, can look into a comparison 👀 It won't be a 100% match since |
|
@mielvds I have checked this out and found two particular differences, fixed. |
Why
We do not have a code formatter that would help us unify the codebase.
What
Implement
ruff. Run it in CI, but only against one file: to taste it and to reduce the probability of git conflicts.