Add ruff target-version (#36971)

This commit is contained in:
cyyever
2025-03-26 02:41:25 +08:00
committed by GitHub
parent a844297088
commit ba531278ca

View File

@@ -14,6 +14,7 @@ exclude_lines = [
]
[tool.ruff]
target-version = "py39"
line-length = 119
[tool.ruff.lint]
@@ -53,4 +54,4 @@ markers = [
"generate: marks tests that use the GenerationTesterMixin"
]
log_cli = 1
log_cli_level = "WARNING"
log_cli_level = "WARNING"