-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
43 lines (38 loc) · 1.28 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "la-leaderboard-backend"
version = "0.1.0"
description = "Backend for La Leaderboard"
dependencies = [
"accelerate>=0.26.0",
"APScheduler==3.10.1",
"BeautifulSoup4==4.12.2",
"black==24.3.0",
"click==8.1.3",
"datasets==2.16.0",
"einops==0.8.0",
"fastapi==0.112.2",
"huggingface-hub==0.24.6",
"lxml==4.9.3",
"python-dateutil==2.8.2",
"requests==2.32.2",
"rich==13.3.4",
"sentencepiece",
"tqdm==4.66.3",
"lm-eval @ git+https://github.com/somosnlp/lm-evaluation-harness.git@specify_num_fewshots_per_task#egg=lm_eval"
]
[tool.setuptools]
packages = ["basic_queue", "internal_queue", "slurm_queue"]
[tool.black]
line-length = 119
[tool.isort]
profile = "black"
line_length = 119
[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 = 119
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"]