As apart of pre-commit hook i want to run a python script that returns a success value to a hook
some thing like that:
pre-commit hook
result=python test.py
if result exit 0
test.py
..running some tests...
return 1
is there any way to do that ?
thank you