Python pre-commit

Pre-commit is a Python-based tool that allows you to ‘hook’ into your git repository and trigger a simple code whenever changes are committed.