add a commit hook to ensure scalariformat consistency