From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 41F7F15838C for ; Sun, 28 Jan 2024 23:08:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7767AE29FD; Sun, 28 Jan 2024 23:08:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 52B8DE29FD for ; Sun, 28 Jan 2024 23:08:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5FAA93432A4 for ; Sun, 28 Jan 2024 23:08:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F20E212C8 for ; Sun, 28 Jan 2024 23:08:43 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1706482916.e9e2809eeb9bd063b0f36f05b1773435ed7ef7c8.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: /, .github/workflows/ X-VCS-Repository: proj/portage X-VCS-Files: .github/workflows/lint.yml .pre-commit-config.yaml X-VCS-Directories: / .github/workflows/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: e9e2809eeb9bd063b0f36f05b1773435ed7ef7c8 X-VCS-Branch: master Date: Sun, 28 Jan 2024 23:08:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3e180347-6b9d-45e1-a6ed-7596455f7561 X-Archives-Hash: c76744d1e2092144c581171ddbb73bbe commit: e9e2809eeb9bd063b0f36f05b1773435ed7ef7c8 Author: Zac Medico gentoo org> AuthorDate: Sun Jan 28 22:58:36 2024 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun Jan 28 23:01:56 2024 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=e9e2809e 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 gentoo.org> .github/workflows/lint.yml | 2 +- .pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 69b9578d4b..f75eaa0e7d 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 }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 53856cb236..72b0df3edd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/psf/black - rev: 23.9.1 + rev: 23.12.1 hooks: - id: black - repo: https://github.com/PyCQA/pylint