Skip to content

Commit

Permalink
Update Black version.
Browse files Browse the repository at this point in the history
Related to psf/black#2964
  • Loading branch information
adrienpeiffer committed May 11, 2022
1 parent 033ef42 commit 0e48f2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default_language_version:
python: python3
repos:
- repo: https://github.com/psf/black
rev: 21.12b0
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: autoflake
args: ["-i", "--ignore-init-module-imports"]
- repo: https://github.com/psf/black
rev: 21.5b2
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-prettier
Expand Down
4 changes: 2 additions & 2 deletions tests/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def tests_cache(tmp_path):
indir = tmp_path / "in"
indir.mkdir()
f1 = indir / "f1"
f1.write_text(u"1" * int(1000000))
f1.write_text("1" * int(1000000))
f2 = indir / "f2"
f2.write_text(u"2" * int(1000000))
f2.write_text("2" * int(1000000))

outdir = tmp_path / "out"
outdir.mkdir()
Expand Down

0 comments on commit 0e48f2b

Please sign in to comment.