summaryrefslogtreecommitdiff
path: root/misc/scripts/black_format.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/scripts/black_format.sh')
-rwxr-xr-xmisc/scripts/black_format.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/scripts/black_format.sh b/misc/scripts/black_format.sh
index f93e8cbc2a..2ad9a23832 100755
--- a/misc/scripts/black_format.sh
+++ b/misc/scripts/black_format.sh
@@ -15,7 +15,7 @@ PY_FILES=$(find \( -path "./.git" \
\) -print)
black -l 120 $PY_FILES
-git diff > patch.patch
+git diff --color > patch.patch
# If no patch has been generated all is OK, clean up, and exit.
if [ ! -s patch.patch ] ; then