Use carton lib for tidy pre-commit hook