Add a pre-commit hook to run rubocop