git-conventional-commits pre-commit hook to validate commit messages Environment Setup Install the pre-commit framework pip install pre-commit Install the commit-msg hook pre-commit install -t commit-msg