Exclude Alembic migrations from Black

These files are autogenerated with their own formats, so we don't want
to override that.
This commit is contained in:
Joshua Boniface 2021-11-06 02:46:06 -04:00
parent 7d6e4353f1
commit a50c8e6a4d
1 changed files with 1 additions and 1 deletions

2
format
View File

@ -5,7 +5,7 @@ if ! which black &>/dev/null; then
exit 1
fi
black .
black --exclude api-daemon/migrations .
ret=$?
if [[ $ret -eq 0 ]]; then
echo "Successfully formatted project!"