Kaynağa Gözat

fix black versions be 23.x

https://black.readthedocs.io/en/stable/integrations/github_actions.html
Thomas Waldmann 2 yıl önce
ebeveyn
işleme
f65a6b197a
2 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 3 1
      .github/workflows/black.yaml
  2. 1 1
      requirements.d/codestyle.txt

+ 3 - 1
.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"

+ 1 - 1
requirements.d/codestyle.txt

@@ -1 +1 @@
-black==23.1.0
+black >=23.0, <24