File size: 1,398 Bytes
2913523 0f2c31b 2913523 63ce1cd 2913523 80e78d7 2913523 9d2ec26 2913523 | 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 44 45 46 47 48 49 50 | [project]
name = "open-japanese-llm-leaderboard"
version = "0.1.0"
description = ""
readme = "README.md"
requires-python = ">=3.13, <3.14"
dependencies = [
"apscheduler>=3.10.4",
"datasets>=3.2.0",
"gradio[oauth]>=5.9.1",
"hf-transfer>=0.1.8",
"plotly>=5.24.1,<6.0.0",
"torch>=2.5.1",
"transformers>=5.2.0",
]
# HF Spaces runs CPU-only — avoid pulling the CUDA stack via the default index.
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[tool.uv.sources]
torch = { index = "pytorch-cpu" }
[tool.ruff]
line-length = 119
[tool.ruff.lint]
select = [
"ARG", # Check function argument usage
"B", # Common bugs and design problems (from flake8-bugbear)
"C", # Complexity checks (from mccabe)
"E", # PEP 8 errors (from pycodestyle)
"F", # Pyflakes errors (basic Python errors)
"I", # Import sorting and formatting
"N", # Naming conventions (from pep8-naming)
"S101", # Use of assert statements (from flake8-bandit)
"SIM", # Code simplification suggestions
"UP", # Python upgrade suggestions
"W", # PEP 8 warnings (from pycodestyle)
]
ignore = [
"E501", # Line too long (> 79 characters)
"SIM117", # Use a single 'with' statement with multiple contexts instead of nested 'with' statements
]
[tool.ruff.format]
docstring-code-format = true
|