Fix target_version (#3159)
Some checks failed
CE Compile Job / ce_job_pre_check (push) Has been cancelled
CE Compile Job / print_ce_job_pre_check_outputs (push) Has been cancelled
CE Compile Job / FD-Clone-Linux (push) Has been cancelled
CE Compile Job / Show Code Archive Output (push) Has been cancelled
CE Compile Job / BUILD_SM8090 (push) Has been cancelled
CE Compile Job / BUILD_SM8689 (push) Has been cancelled
CE Compile Job / CE_UPLOAD (push) Has been cancelled
Deploy GitHub Pages / deploy (push) Has been cancelled

* Fix

* fix

* fix
This commit is contained in:
co63oc
2025-08-28 14:17:54 +08:00
committed by GitHub
parent 108d989d9d
commit c294fc8139

View File

@@ -5,7 +5,7 @@ known_third_party = ["paddle"]
[tool.black]
line-length = 119
target_version = ['py35', 'py36', 'py37', 'py38', 'py39', 'py310']
target_version = ['py310', 'py311', 'py312']
exclude = '.flake8'
@@ -16,7 +16,7 @@ exclude = [
"custom_ops/third_party",
]
line-length = 119
target-version = "py39"
target-version = "py310"
[tool.ruff.format]
# Prevent change to double quotes by some users use ruff format