File size: 622 Bytes
afa91bc
 
 
 
 
 
 
 
ab21cd8
 
afa91bc
ab21cd8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[project]
name = "top5-error-rate"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
    "evaluate[template]>=0.4.3",
    "gradio>=5.24.0",
    "polars>=1.27.1",
]

[tool.ruff]
# Allow lines to be as long as 120.
line-length = 100
extend-exclude = ["log", "data"]

[tool.ruff.format]
# 使用单引号
quote-style = "single"
# 启用docstring代码片段格式化
docstring-code-format = true

[tool.ruff.lint]
# On top of the default `select` (`E4`, E7`, `E9`, and `F`), enable flake8-bugbear (`B`) and flake8-quotes (`Q`).
extend-select = ["I"]