From 0fa693dd0d853f1fe560f2c4922f33cdb029ec4a Mon Sep 17 00:00:00 2001 From: Cheng Xing Date: Tue, 26 Apr 2022 22:07:56 +0000 Subject: [PATCH] format-incremental: Print black version --- check/format-incremental | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/check/format-incremental b/check/format-incremental index 5a5194db01e..e16f47927f6 100755 --- a/check/format-incremental +++ b/check/format-incremental @@ -102,7 +102,9 @@ fi flynt "${format_files[@]}" "${flynt_args[@]}" FLYNTSTATUS=$? -echo "Running the black formatter..." +BLACKVERSION="$(black --version)" + +echo "Running the black formatter... (version: $BLACKVERSION)" args=("--color") if (( only_print == 1 )); then