Skip to content

Commit

Permalink
Fix black versions
Browse files Browse the repository at this point in the history
  • Loading branch information
srittau committed Mar 30, 2024
1 parent bedcc3f commit 88ae85f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
# - uses: srittau/black@dev # default
- uses: srittau/black@dev # fixed version
with:
version: 2024.2.0
version: 24.2.0
- uses: srittau/black@dev # pattern
with:
use_pyproject: false
version: ~=2024.*
version: ~=24.*
- uses: srittau/black@dev # pyproject
with:
use_pyproject: true
Expand All @@ -29,7 +29,7 @@ jobs:
- uses: srittau/black@dev # error
with:
use_pyproject: true
version: 2024.2.0
version: 24.2.0

old-python:
runs-on: ubuntu-latest
Expand All @@ -40,6 +40,9 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"
- uses: srittau/black@dev
- uses: srittau/black@dev # fixed version
with:
version: 24.2.0
- uses: srittau/black@dev # pyproject
with:
use_pyproject: true

0 comments on commit 88ae85f

Please sign in to comment.