[BE] Update python versions for black formatter config (#99827)

Update black config to currently supported python versions in PyTorch
Pull Request resolved: https://github.com/pytorch/pytorch/pull/99827
Approved by: https://github.com/ezyang
This commit is contained in:
Aaron Gokaslan
2023-04-23 20:38:13 +00:00
committed by PyTorch MergeBot
parent f8c6861120
commit 6d5040a1ac

View File

@ -18,4 +18,4 @@ build-backend = "setuptools.build_meta:__legacy__"
[tool.black]
# Uncomment if pyproject.toml worked fine to ensure consistency with flake8
# line-length = 120
target-version = ["py37", "py38", "py39", "py310"]
target-version = ["py38", "py39", "py310", "py311"]