public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: .github/workflows/
Date: Mon, 21 Feb 2022 03:51:52 +0000 (UTC)	[thread overview]
Message-ID: <1645415454.ea97f7d77fd80ff9c380f77c64ffa9060e6a41cb.sam@gentoo> (raw)

commit:     ea97f7d77fd80ff9c380f77c64ffa9060e6a41cb
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 01:48:10 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 21 03:50:54 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=ea97f7d7

CI: also lint python files that Black doesn't automatically detect

Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
Closes: https://github.com/gentoo/portage/pull/787
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .github/workflows/black.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml
index b04fb15cb..d3c3fa3e1 100644
--- a/.github/workflows/black.yml
+++ b/.github/workflows/black.yml
@@ -7,4 +7,12 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v2
+      - name: "Collect stragglers that Black misses"
+        id: stragglers
+        run: |
+          echo "::set-output name=missed::$(
+          find bin repoman runtests -type f -not -name '*.py' -not -name '*.sh' | \
+          xargs grep -l '#!/usr/bin/env python' | tr $'\n' ' ')"
       - uses: psf/black@stable
+        with:
+            src: . ${{ steps.stragglers.outputs.missed }}


             reply	other threads:[~2022-02-21  3:51 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-21  3:51 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-04  3:11 [gentoo-commits] proj/portage:master commit in: .github/workflows/ Zac Medico
2024-11-03 21:33 Mike Gilbert
2024-11-03 21:33 Mike Gilbert
2024-10-21 22:44 Zac Medico
2024-03-15 21:57 Mike Gilbert
2024-02-14 19:09 Zac Medico
2024-02-13 10:01 Zac Medico
2024-02-07  0:32 Zac Medico
2023-11-02 14:37 Sam James
2023-10-30  8:47 Sam James
2023-10-11 19:08 Zac Medico
2023-08-02  6:31 Sam James
2023-05-23 10:08 Sam James
2023-03-23  6:59 Sam James
2023-03-20  4:03 Sam James
2023-03-20  4:03 Sam James
2023-03-11 18:54 Sam James
2023-01-10 15:12 Sam James
2022-12-03  1:40 Sam James
2022-06-06 17:01 Mike Gilbert
2022-05-20 11:14 Michał Górny
2022-04-12  3:12 Sam James
2022-03-15 22:39 Sam James
2021-10-28  5:01 Sam James
2021-09-20  3:58 Zac Medico
2021-08-07 16:44 Michał Górny
2021-01-02  6:00 Zac Medico

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=1645415454.ea97f7d77fd80ff9c380f77c64ffa9060e6a41cb.sam@gentoo \
    --to=sam@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