From 3779bc960edde5b2aaa2625035af6462f792cf8f 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!"