From 18ae61f28e4fea88bfae689643aefbabae8762f3 Mon Sep 17 00:00:00 2001 From: Prabhat Dwivedi Date: Wed, 17 Apr 2024 23:37:25 -0700 Subject: [PATCH] Fix black in github action workfile (#421) (cherry picked from commit 8a5ffdc85abd2c87d1d7aba2242fda850ec8fac2) --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 147d7f36..fbca5d71 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: black + if: ${{matrix.python-version != '3.7'}} uses: psf/black@stable # Exclude list is not honored - https://github.com/psf/black/issues/1584 with: version: "22.6.0"