From 46571380fc46e837770263df4a24d94162c1d6de Mon Sep 17 00:00:00 2001 From: Rob Ankeny Date: Thu, 2 Feb 2023 23:00:43 -0800 Subject: [PATCH] Fixing black version rather than GH Action Version The `psf/black@22.12.0` was actually the github action version rather than the version of black. This is talked about in https://github.com/psf/black/issues/3382 We are not pinning the version of black and using stable for the github action version. --- .github/workflows/validate.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index cd18aa68..ed8f2e7c 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -93,7 +93,9 @@ jobs: #---------------------------------------------- - name: Format project using Black if: steps.paths-filter.outputs.run_format == 'true' - uses: psf/black@22.12.0 + uses: psf/black@stable + with: + version: "22.12.0" #---------------------------------------------- # run isort #----------------------------------------------