mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 19:11:09 +00:00
Merge pull request #3326 from Minnozz/black-required-version
black: specify major version 22 only
This commit is contained in:
commit
3cde6dbe5a
4 changed files with 6 additions and 3 deletions
4
.github/workflows/python.yml
vendored
4
.github/workflows/python.yml
vendored
|
@ -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.*"
|
||||
|
|
|
@ -1 +1 @@
|
|||
black==22.12.0
|
||||
black==22.*
|
||||
|
|
2
pyproject.toml
Normal file
2
pyproject.toml
Normal file
|
@ -0,0 +1,2 @@
|
|||
[tool.black]
|
||||
required-version = "22"
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue