The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a pre-commit hook to find the needed executable on Mac

rowen
February 4, 2020

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.

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events