From 7edee2f89f810b287312372e19ce8e4878da6c2c Mon Sep 17 00:00:00 2001 From: Firdaus Hakimi Date: Tue, 19 Mar 2024 01:20:38 +0800 Subject: [PATCH] scripts: install_hook: Adapt to non-poetry-scripts way of execution --- scripts/install_hook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_hook.py b/scripts/install_hook.py index 0ce0ad6..cdac741 100644 --- a/scripts/install_hook.py +++ b/scripts/install_hook.py @@ -5,7 +5,7 @@ SCRIPT = r"""#!/bin/sh set -o noglob -poetry run install-hook +python3 scripts/install_hook.py poetry run black .