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.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events