public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: /, .github/workflows/
Date: Sun, 28 Jan 2024 23:08:43 +0000 (UTC)	[thread overview]
Message-ID: <1706482916.e9e2809eeb9bd063b0f36f05b1773435ed7ef7c8.zmedico@gentoo> (raw)

commit:     e9e2809eeb9bd063b0f36f05b1773435ed7ef7c8
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 28 22:58:36 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> 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 <AT> 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 <zmedico <AT> 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


             reply	other threads:[~2024-01-28 23:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-28 23:08 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-12 16:11 [gentoo-commits] proj/portage:master commit in: /, .github/workflows/ Zac Medico
2023-07-26  7:58 Sam James
2022-05-19  4:09 Sam James
2021-08-07 17:16 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1706482916.e9e2809eeb9bd063b0f36f05b1773435ed7ef7c8.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox