From f3627b1392896f7dd9a5b7ba0edc4e7c2583793b Mon Sep 17 00:00:00 2001 From: Edward Byers Date: Fri, 16 Feb 2024 07:34:39 +0100 Subject: [PATCH] Update black.yml --- .github/workflows/black.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 6202298..62667bf 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -1,14 +1,16 @@ # This workflow checks that the code conforms to the Black style # See https://black.readthedocs.io/en/stable/github_actions.html for details -name: Lint +name: Black formatting -on: [push, pull_request] +on: [pull_request] jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 - uses: psf/black@stable + with: + options: "--color"