Update pre-commit

Adds better warning message