demo / backend /pyproject.toml
tfrere's picture
improve security on upload-url route
b1e6db8
raw
history blame
1.53 kB
[project]
name = "yourbench-simple-demo"
version = "0.1.0"
authors = [
{ name = "Sumuk Shashidhar", email = "[email protected]" },
{ name = "Alina Lozovskaia", email = "[email protected]" },
{ name = "Clémentine Fourrier", email = "[email protected]" },
{ name = "Nathan Habib", email = "[email protected]" },
]
requires-python = ">=3.12, <3.13"
dependencies = [
"yourbench @ git+https://github.com/huggingface/yourbench.git@main",
"asyncio>=3.4.3",
"datasets>=3.3.0",
"loguru>=0.7.3",
"python-dotenv>=1.0.1",
"tqdm>=4.67.1",
"ruff>=0.11.2",
"lighteval[math]>=0.8.0",
"huggingface-hub>=0.22.0",
"python-multipart>=0.0.5",
"fastapi>=0.110.0",
"uvicorn>=0.29.0",
"pydantic>=2.6.0",
"PyPDF2>=3.0.0",
"beautifulsoup4>=4.12.0",
"evaluate>=0.4.0",
"requests>=2.31.0",
"validators>=0.34.0",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 119
exclude = ["**/*.ipynb"]
lint.ignore = ["E501", "C901", "F841"]
lint.select = ["C", "E", "F", "I", "W"]
lint.fixable = ["A", "B", "C", "D", "E", "F", "I", "W"]
preview = true
[tool.ruff.lint.isort]
length-sort = true
lines-after-imports = 2
no-lines-before = ["standard-library", "local-folder"]
split-on-trailing-comma = true
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.setuptools]
packages = ["lighteval_task"]