Add pre-commit hooks