From 15aa9c86bc5cc9b58fd042c38dcfc45e0aa74071 Mon Sep 17 00:00:00 2001 From: Andrew Liu Date: Fri, 26 Apr 2024 04:42:11 +0000 Subject: [PATCH] install pre-commit in setup script --- scripts/devcontainer_setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/devcontainer_setup.sh b/scripts/devcontainer_setup.sh index b9fb497c6..ce79fe777 100644 --- a/scripts/devcontainer_setup.sh +++ b/scripts/devcontainer_setup.sh @@ -18,3 +18,6 @@ parallel --tag -j2 --line-buffer ::: "pip install --user -r requirements.txt -r echo "Initializing git repository..." git config --global --add safe.directory /workspaces/pigeon + +echo "Installing pre-commit hooks" +pre-commit install