From 3dc1b12f134eccf45e630110dfde1f26d297c89e Mon Sep 17 00:00:00 2001 From: "L. E. Segovia" Date: Tue, 4 Jul 2023 16:55:38 -0300 Subject: [PATCH] git-hooks: Allow running the precommit hook in Windows Windows based Python does not install a python3 executable, that one is managed by the Microsoft Store as an alias exclusively. Part-of: --- scripts/git-hooks/pre-commit-python.hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/git-hooks/pre-commit-python.hook b/scripts/git-hooks/pre-commit-python.hook index 15ed76566f..57452226c4 100755 --- a/scripts/git-hooks/pre-commit-python.hook +++ b/scripts/git-hooks/pre-commit-python.hook @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python import os import subprocess import sys