Skip to content

Commit

Permalink
Merge pull request #3326 from Minnozz/black-required-version
Browse files Browse the repository at this point in the history
black: specify major version 22 only
  • Loading branch information
BartSchuurmans authored Mar 21, 2024
2 parents 7627868 + 682bb3b commit 3cde6db
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: psf/black@22.12.0
- uses: psf/black@stable
with:
version: 22.12.0
version: "22.*"
2 changes: 1 addition & 1 deletion dev-tools/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
black==22.12.0
black==22.*
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tool.black]
required-version = "22"
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ setuptools>=65.5.1 # Not a direct dependency, pinned to get a security fix
tornado==6.3.3 # Not a direct dependency, pinned to get a security fix

# Dev
black==22.*
celery-types==0.18.0
django-stubs[compatible-mypy]==4.2.4
mypy==1.5.1
Expand Down

0 comments on commit 3cde6db

Please sign in to comment.