I have a git pre-commit hook that formats my Python code using `black` on macOS. It works fine from the command line, but (of course) SourceTree cannot find `black`, so I cannot commit in SourceTree.
Any idea how to work around this? I looked through the SourceTree preferences for the ability to set some relevant path, but didn't find anything.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.