lint: switch order Ruff's hooks `fix` -> `format` by Borda · Pull Request #1912 · gitpython-developers/GitPython
Conversation
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
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.
Borda
deleted the
lint/ruff
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters