mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[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:
committed by
PyTorch MergeBot
parent
f8c6861120
commit
6d5040a1ac
@ -18,4 +18,4 @@ build-backend = "setuptools.build_meta:__legacy__"
|
|||||||
[tool.black]
|
[tool.black]
|
||||||
# Uncomment if pyproject.toml worked fine to ensure consistency with flake8
|
# Uncomment if pyproject.toml worked fine to ensure consistency with flake8
|
||||||
# line-length = 120
|
# line-length = 120
|
||||||
target-version = ["py37", "py38", "py39", "py310"]
|
target-version = ["py38", "py39", "py310", "py311"]
|
||||||
|
Reference in New Issue
Block a user