Remove the prepare script, and run the two stages manually. Better handle Black reformatting by doing a check (for the errcode) then reformat and abort commit to review.
Ensures optimal formatting in addition to linting during manual deploys and during pre-commit actions.