File size: 1,226 Bytes
dfd4983
 
 
 
 
2b1eb04
dfd4983
 
 
 
 
 
 
 
 
2b1eb04
dfd4983
 
 
 
 
 
 
 
 
 
 
 
b98f07f
 
 
 
814a536
b98f07f
 
 
 
814a536
 
b98f07f
 
814a536
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[project]
name = "hf-leaderboard-backend"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
    "apscheduler>=3.11.0",
    "black>=25.1.0",
    "datasets>=4.0.0",
    "gradio-client>=1.10.4",
    "gradio-leaderboard==0.0.13",
    "gradio[oauth]>=5.36.2",
    "huggingface-hub>=0.18.0",
    "matplotlib>=3.10.3",
    "numpy>=2.2.6",
    "pandas>=2.3.1",
    "plotly>=6.2.0",
    "pre-commit>=4.2.0",
    "pydantic==2.10.6",
    "python-dateutil>=2.9.0.post0",
    "pytz>=2025.2",
    "sentencepiece>=0.2.0",
    "tokenizers>=0.15.0",
    "tqdm>=4.67.1",
    "transformers>=4.53.2",
]

[tool.ruff]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
select = ["E", "F"]
ignore = ["E501"] # line too long (black is taking care of this)
line-length = 88
fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT"]

[tool.isort]
profile = "black"
line_length = 88
multi_line_output = 9

[tool.black]
line-length = 88