pre-commit hook tweak