update black target version (#18955)

* update black target version

* add comment

as per https://github.com/huggingface/transformers/pull/18955#issuecomment-1242081649

* revert change

Will only update to 3.7 after black 2023 upgrade in January
This commit is contained in:
Bram Vanroy 2022-09-09 23:30:05 +02:00 committed by GitHub
parent 645f174286
commit 855dcae8bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,7 @@ if stale_egg_info.exists():
_deps = [
"Pillow",
"accelerate>=0.10.0",
"black==22.3",
"black==22.3", # after updating to black 2023, also update Python version in pyproject.toml to 3.7
"codecarbon==1.2.0",
"cookiecutter==1.7.3",
"dataclasses",