Commit Graph

7 Commits

Author SHA1 Message Date
Joshua Boniface 6e110b178c Add start delineators to command output 2021-11-06 13:35:30 -04:00
Joshua Boniface d07d37d08e 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 83e887c4ee 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 4eb0f3bb8a 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 3aa74a3940 Add safe mode to Black 2021-11-06 02:59:54 -04:00
Joshua Boniface 268b5c0b86 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 7604b9611f Add black formatter to project root 2021-11-06 02:44:05 -04:00