From e9e2809eeb9bd063b0f36f05b1773435ed7ef7c8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 28 Jan 2024 14:58:36 -0800 Subject: actions: Use psf/black@23.12.1 and sync pre-commit version The versions must be consistent, since psf/black@stable now refers to 24.1.1 which triggers some reformatting relative to black 23.x. The consistency should correct lint failures like this: https://github.com/gentoo/portage/actions/runs/7667403073/job/20950314014?pr=1239 Signed-off-by: Zac Medico --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 69b9578d4..f75eaa0e7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: echo "::set-output name=missed::$( find bin -type f -not -name '*.py' -not -name '*.sh' | \ xargs grep -l '#!/usr/bin/env python' | tr $'\n' ' ')" - - uses: psf/black@stable + - uses: psf/black@23.12.1 with: src: . ${{ steps.stragglers.outputs.missed }} -- cgit v1.2.3-65-gdbad