If the script exits with an error code, then git will abort the commit. Here is a simple pre-commit hook for a Python project. It runs black (a ...
確定! 回上一頁