Commit Graph

7 Commits

Author SHA1 Message Date
Joshua Boniface a817c3e678 Add start delineators to command output 2021-11-06 13:35:30 -04:00
Joshua Boniface 0cc3f2deab Revamp formatting and linting on commit
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.
2021-11-06 13:34:33 -04:00
Joshua Boniface ac885b855a Ensure all helper scripts pushd/popd
Make sure all of these move to the root of the repository first, then
return to where they were afterwards, using pushd/popd. This allows them
to be executed from anywhere in the repo.
2021-11-06 03:17:47 -04:00
Joshua Boniface b9c30baf80 Unify formatting and linting
Ensures optimal formatting in addition to linting during manual deploys
and during pre-commit actions.
2021-11-06 03:10:17 -04:00
Joshua Boniface 3779bc960e Add safe mode to Black 2021-11-06 02:59:54 -04:00
Joshua Boniface a50c8e6a4d Exclude Alembic migrations from Black
These files are autogenerated with their own formats, so we don't want
to override that.
2021-11-06 02:46:06 -04:00
Joshua Boniface bf30b31db6 Add black formatter to project root 2021-11-06 02:44:05 -04:00