From 3aa74a3940db73b334e050b2dc0ef2e24f562431 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 6 Nov 2021 02:59:54 -0400 Subject: [PATCH] Add safe mode to Black --- format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format b/format index 356125de..bd79789e 100755 --- a/format +++ b/format @@ -5,7 +5,7 @@ if ! which black &>/dev/null; then exit 1 fi -black --exclude api-daemon/migrations . +black --safe --exclude api-daemon/migrations . ret=$? if [[ $ret -eq 0 ]]; then echo "Successfully formatted project!"