Skip to content

Commit 58d39b4

Browse files
author
Derek Hower
committed
Have pre-commit use setup
1 parent bc5ec90 commit 58d39b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/pre-commit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

33
ROOT=$(dirname $(dirname $(realpath $BASH_SOURCE[0])))
4+
source $ROOT/bin/setup
45

5-
${ROOT}/bin/bash -c "source ${ROOT}/.home/.venv/bin/activate && pre-commit $@"
6+
$PYTHON -mpre_commit "$@"

0 commit comments

Comments
 (0)