Terry Zhuo
commited on
Commit
•
3e5d060
1
Parent(s):
7556deb
update
Browse files- pyproject.toml +39 -4
pyproject.toml
CHANGED
@@ -1,13 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
[tool.ruff]
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
select = ["E", "F"]
|
|
|
4 |
ignore = ["E501"] # line too long (black is taking care of this)
|
5 |
-
line-length = 119
|
6 |
-
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"]
|
7 |
|
8 |
[tool.isort]
|
9 |
profile = "black"
|
10 |
-
line_length = 119
|
11 |
|
12 |
[tool.black]
|
13 |
line-length = 119
|
|
|
|
|
|
|
|
1 |
+
[project]
|
2 |
+
name = "bigcodebench-leaderboard"
|
3 |
+
description = ""
|
4 |
+
authors = []
|
5 |
+
readme = "README.md"
|
6 |
+
requires-python = "==3.12.1"
|
7 |
+
|
8 |
+
dependencies = [
|
9 |
+
"apscheduler>=3.10.4",
|
10 |
+
"black>=24.8.0",
|
11 |
+
"click>=8.1.7",
|
12 |
+
"datasets>=3.0.0",
|
13 |
+
"huggingface-hub>=0.24.7",
|
14 |
+
"pandas>=2.2.2",
|
15 |
+
"python-dateutil>=2.9.0",
|
16 |
+
"sentencepiece>=0.2.0",
|
17 |
+
"transformers==4.45.1",
|
18 |
+
"tokenizers>=0.19.0",
|
19 |
+
"gradio-space-ci",
|
20 |
+
"isort>=5.13.2",
|
21 |
+
"ruff>=0.6.4",
|
22 |
+
"gradio-leaderboard==0.0.11",
|
23 |
+
"gradio[oauth]==4.44.0",
|
24 |
+
"schedule>=1.2.2",
|
25 |
+
"pigar>=2.1.6",
|
26 |
+
]
|
27 |
+
|
28 |
[tool.ruff]
|
29 |
+
line-length = 120
|
30 |
+
target-version = "py312"
|
31 |
+
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
|
32 |
+
ignore=["I","EM","FBT","TRY003","S101","D101","D102","D103","D104","D105","G004","D107","FA102"]
|
33 |
+
fixable=["ALL"]
|
34 |
+
select=["ALL"]
|
35 |
+
|
36 |
+
[tool.ruff.lint]
|
37 |
select = ["E", "F"]
|
38 |
+
fixable = ["ALL"]
|
39 |
ignore = ["E501"] # line too long (black is taking care of this)
|
|
|
|
|
40 |
|
41 |
[tool.isort]
|
42 |
profile = "black"
|
|
|
43 |
|
44 |
[tool.black]
|
45 |
line-length = 119
|
46 |
+
|
47 |
+
[tool.uv.sources]
|
48 |
+
gradio-space-ci = { git = "https://huggingface.co/spaces/Wauplin/gradio-space-ci" }
|