This adds pre-commit which can be used to enforce consistent style and common errors (like committing large files)
This should add metrics parity to the Python version