Copy the pre-commit and pre-commit.d files into your .git/hooks. Ensure pre-commit is set to executable.
The black formatter listens to the $BLACK_LINE_LENGTH variable. Set it to anything else than 100 and suffer the consequences.
Feel free to add other hooks here
- Use python instead of bash
- Add other hooks
- make it easy to add other hooks