Skip to content

Commit

Permalink
Fix command in install_pre_commit_hook (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Aug 19, 2022
1 parent eea83ec commit c73212c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hatch_jupyter_builder/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def install_pre_commit_hook():
ARGS=(hook-impl --config=.pre-commit-config.yaml --hook-type=pre-commit)
HERE="$(cd "$(dirname "$0")" && pwd)"
ARGS+=(--hook-dir "$HERE" -- "$@")
exec "$INSTALL_PYTHON" -mpre_commit "${{ARGS[@]}}"
exec "$INSTALL_PYTHON" -m pre_commit "${{ARGS[@]}}"
"""
if not os.path.exists(".git"):
log = _get_log()
Expand Down

0 comments on commit c73212c

Please sign in to comment.