As the tittle states I am using a python package called pre-commit.
I was having some issues setting up a pre-commit with this package https://github.com/pre-commit/mirro