I just discovered that [black](https://github.com/ambv/black) can be set up as a git pre-commit hook.<p>What are some other hooks that people have found useful?
There was this <a href="https://lolcommits.github.io/" rel="nofollow">https://lolcommits.github.io/</a> project that captures your photo everytime you commit your code.<p>Of course, most people use pre-commit hooks for code linting/formatting nowadays. You can check the project called Husky if you're using Node.js in your projects.