Skip to content

Commit

Permalink
Have pre-commit use setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dhower-qc committed Dec 18, 2024
1 parent bc5ec90 commit 58d39b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

ROOT=$(dirname $(dirname $(realpath $BASH_SOURCE[0])))
source $ROOT/bin/setup

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

0 comments on commit 58d39b4

Please sign in to comment.