Skip to content

Commit f0cf054

Browse files
cyyeverzucchini-nlp
authored andcommitted
Add ruff target-version (huggingface#36971)
1 parent 3c64f57 commit f0cf054

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ exclude_lines = [
1414
]
1515

1616
[tool.ruff]
17+
target-version = "py39"
1718
line-length = 119
1819

1920
[tool.ruff.lint]
@@ -53,4 +54,4 @@ markers = [
5354
"generate: marks tests that use the GenerationTesterMixin"
5455
]
5556
log_cli = 1
56-
log_cli_level = "WARNING"
57+
log_cli_level = "WARNING"

0 commit comments

Comments
 (0)