pre-commit for more info functionality