From a50c8e6a4d7db1799f576345dc743ca2f2c2564d Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 6 Nov 2021 02:46:06 -0400 Subject: [PATCH] Exclude Alembic migrations from Black These files are autogenerated with their own formats, so we don't want to override that. --- format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format b/format index 00f09504..356125de 100755 --- a/format +++ b/format @@ -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!"