From 855dcae8bb743c3f8f0781742d7fa2fa3aaa3e22 Mon Sep 17 00:00:00 2001 From: Bram Vanroy Date: Fri, 9 Sep 2022 23:30:05 +0200 Subject: [PATCH] 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 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8f101357e8..3aa0a86a4f 100644 --- a/setup.py +++ b/setup.py @@ -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",