From f65a6b197a97b4e92a039686f7544a96aed71a1d Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Wed, 1 Feb 2023 16:01:54 +0100 Subject: [PATCH] fix black versions be 23.x https://black.readthedocs.io/en/stable/integrations/github_actions.html --- .github/workflows/black.yaml | 4 +++- requirements.d/codestyle.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/black.yaml b/.github/workflows/black.yaml index c5972e5d..4aebe834 100644 --- a/.github/workflows/black.yaml +++ b/.github/workflows/black.yaml @@ -10,4 +10,6 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - - uses: psf/black@23.1.0 + - uses: psf/black@stable + with: + version: "~= 23.0" diff --git a/requirements.d/codestyle.txt b/requirements.d/codestyle.txt index 177c0e09..b9e137e6 100644 --- a/requirements.d/codestyle.txt +++ b/requirements.d/codestyle.txt @@ -1 +1 @@ -black==23.1.0 +black >=23.0, <24