Use black formatter action for pretty summaries

This commit is contained in:
Andrej730
2025-12-19 11:42:46 +05:00
parent 2c3281917a
commit fda3bd319f
+2 -3
View File
@@ -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