Break pre-commit hook into two so the checks can be run manually as well