From 5441c4ee675806b075ef3cd60c8029a1864c2e73 Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Thu, 8 Dec 2022 17:55:02 +0300 Subject: [PATCH] Fix isort version output in the workflow (#5436) `isort --version` prints a large banner, which, after shell processing, is collapsed into one line, and the result is an unreadable mess. Use `--version-number` instead, which prints just the number. --- .github/workflows/isort.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/isort.yml b/.github/workflows/isort.yml index 977da531..00797689 100644 --- a/.github/workflows/isort.yml +++ b/.github/workflows/isort.yml @@ -62,7 +62,7 @@ jobs: pip install $(egrep "isort.*" ./cvat-cli/requirements/development.txt) mkdir -p isort_report - echo "isort version: "$(isort --version) + echo "isort version: $(isort --version-number)" echo "The dirs will be checked: $UPDATED_DIRS" EXIT_CODE=0 for DIR in $UPDATED_DIRS; do