Skip to content

Commit

Permalink
Bump Black version to 22.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen committed May 31, 2022
1 parent 455974c commit 73cb585
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ default_language_version:
python: python3.8
repos:
- repo: https://github.com/psf/black
rev: '22.1.0'
# The `refs/tags/<tag>:refs/tags/<tag>` is needed for black's required-version to work:
# https://github.com/psf/black/issues/2493#issuecomment-1081987650
rev: 'refs/tags/22.3.0:refs/tags/22.3.0'
hooks:
- id: black
- repo: https://github.com/Pierre-Sassoulas/black-disable-checker
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ build-backend = "setuptools.build_meta"

[tool.black]
line-length = 99
required-version = '22.3.0'
target-version = ['py38']
include = '\.py$'

0 comments on commit 73cb585

Please sign in to comment.