Closed robnagler closed 2 years ago
Should we add a git commit hook which would work for everyone on the team? Maybe distributed through vagrant-sirepo-dev?
I want it to happen before the commit. I also have my suspicions about hooks, but I forgot why. Feel free to experiment if they meet the goal of failing a commit.
fixed by always running fmt on save
I almost always run one or the other in emacs so it would be convenient. Alternatively, could create a new command that is used in place for git commit in emacs and in the shell that runs a check.