check pre-commit hook
done with pre-commit hook