Skip to content

Commit 9f5707e

Browse files
committed
move pre-commit install to justfile
1 parent 4629f7c commit 9f5707e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.evergreen/scripts/setup-dev-env.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,4 @@ uv sync
5151

5252
echo "Setting up python environment... done."
5353

54-
# Ensure there is a pre-commit hook if there is a git checkout.
55-
if [ -d .git ] && [ ! -f .git/hooks/pre-commit ]; then
56-
uvx pre-commit install
57-
fi
58-
5954
popd > /dev/null

justfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ resync:
1818

1919
install:
2020
bash .evergreen/scripts/setup-dev-env.sh
21+
uvx pre-commit install
2122

2223
[group('docs')]
2324
docs: && resync

0 commit comments

Comments
 (0)