This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
The following commit(s) were added to refs/heads/main by this push:
new ba7676cb Install the prek git hook (#2933)
ba7676cb is described below
commit ba7676cbf7021d09966568d0536dedc53c9a25ce
Author: Kevin Liu <[email protected]>
AuthorDate: Thu Jan 22 09:54:02 2026 -0500
Install the prek git hook (#2933)
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
# Rationale for this change
This PR installs the pre-commit git hook so that `git commit` will
trigger the pre-commit checks
## Are these changes tested?
## Are there any user-facing changes?
<!-- In the case of user-facing changes, please add the changelog label.
-->
---
Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 8c8e5f4a..7e67a981 100644
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,10 @@ setup-venv: ## Create virtual environment
install-dependencies: setup-venv ## Install all dependencies including extras
uv sync $(PYTHON_ARG) --all-extras --reinstall
-install: install-uv install-dependencies ## Install uv and dependencies
+install-hooks: ## Install pre-commit hooks
+ uv run $(PYTHON_ARG) prek install
+
+install: install-uv install-dependencies install-hooks ## Install uv,
dependencies, and pre-commit hooks
# ===============
# Code Validation