From fda3bd319f6990d7a6d54e99f5165dc028387765 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 19 Dec 2025 11:42:46 +0500 Subject: [PATCH] Use black formatter action for pretty summaries --- .github/workflows/ci-black-formatting.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-black-formatting.yaml b/.github/workflows/ci-black-formatting.yaml index 37c9081538..92f8dd9d1e 100644 --- a/.github/workflows/ci-black-formatting.yaml +++ b/.github/workflows/ci-black-formatting.yaml @@ -40,8 +40,7 @@ jobs: - name: Black formatter id: black - run: | - black --diff --check . + uses: psf/black@stable continue-on-error: true - name: Ruff check @@ -60,7 +59,7 @@ jobs: echo "::error::Syntax errors check failed, see 'syntax-errors' step for the details." && ERROR=1 fi if [ "${{ steps.black.outcome }}" != "success" ]; then - echo "::error::Black formatting check failed, see 'black' step for the details." && ERROR=1 + echo "::error::Black formatting check failed, see Summary or 'black' step for the details." && ERROR=1 fi if [ "${{ steps.ruff.outcome }}" != "success" ]; then echo "::error::Ruff check failed, see 'ruff' step for the details." && ERROR=1