Skip to content

Commit

Permalink
project: move to black --preview
Browse files Browse the repository at this point in the history
  • Loading branch information
isidentical committed Feb 13, 2022
1 parent f94d53b commit 9b65dfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ exclude: '^tests/cosmetic/'

repos:
- repo: https://github.com/psf/black
rev: 21.12b0
rev: 22.1.0
hooks:
- id: black
args: [--experimental-string-processing]
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
hooks:
Expand All @@ -27,7 +26,7 @@ repos:
- --disable-error-code
- attr-defined
- repo: https://github.com/hakancelik96/unimport
rev: 0.9.2
rev: 0.9.4
hooks:
- id: unimport
args:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[tool.black]
line-length = 79
target-version = ['py39']
experimental_string_processing = true
preview = true

[tool.isort]
atomic=true
Expand Down

0 comments on commit 9b65dfd

Please sign in to comment.