lint: switch order Ruff's hooks `fix` -> `format` by Borda · Pull Request #1912 · gitpython-developers/GitPython
Conversation
Borda
commented
May 7, 2024
Borda
commented
Contributor
Since fix may do some additional changes, it makes sense to first run fixing and the formatting so you may need to run pre-commit only once in case fixing wont be compatible with formatting
Byron
approved these changes
Byron
left a comment
Byron
left a comment
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, that sounds very reasonable.
Updating the version of ruff at the same time seems like a win, too.
Byron
merged commit
cd490f8
into
gitpython-developers:main
Borda
deleted the
lint/ruff
branch
Borda
commented
May 7, 2024
Borda commented
Contributor Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment