-
Notifications
You must be signed in to change notification settings - Fork 74
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
Make pre-commit hooks talk to git #851
Conversation
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.
I think the implementation will require a bit more fiddling to get right, because we traded one class of bugs (including untracked files) for another (including unstaged deleted/renamed files).
Thanks for the comments, and sorry for my messy python code. For some reason, my patience grows really thin whenever I have to touch it. |
@VojtechStep If I recall correctly, you argued somewhere that this change in some sense trades one bug for another, and although both versions have their drawbacks, this PR at least makes the hooks consistent with each other, which I think is an overall improvement. |
Ah, never mind, this one's still unfinished. |
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.
I think it's OK to have the new behavior, and I think it's adequately documented. However the script itself doesn't really work and I get an "empty" SUMMARY.md, so that needs to be addressed; I left a comment on why it breaks.
I think I've adequately addressed all of your comments now, @VojtechStep. Thank you for your invaluable guidance, and let me know if there is anything more you think should be changed. |
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.
Looks great! Thanks for taking the time to look into this. I'll be adding myself as a coauthor in the squashed commit then.
Resolves UniMath#664 Resolves UniMath#848 Co-authored-by: Vojtěch Štěpančík <[email protected]>
Resolves #664
Resolves #848