alozowski commited on
Commit
577f730
1 Parent(s): 5dae46b

Transfer to UV

Browse files
Files changed (1) hide show
  1. pyproject.toml +31 -41
pyproject.toml CHANGED
@@ -1,15 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  [tool.ruff]
2
  line-length = 120
3
  target-version = "py312"
4
  include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
5
- ignore=["I","EM","FBT","TRY003","S101","D101","D102","D103","D104","D105","G004","D107","FA102"]
6
- fixable=["ALL"]
7
- select=["ALL"]
8
 
9
  [tool.ruff.lint]
10
- select = ["E", "F"]
11
  fixable = ["ALL"]
12
- ignore = ["E501"] # line too long (black is taking care of this)
13
 
14
  [tool.isort]
15
  profile = "black"
@@ -18,39 +42,5 @@ line_length = 119
18
  [tool.black]
19
  line-length = 119
20
 
21
- [tool.poetry]
22
- package-mode = false
23
- name = "open-llm-leaderboard"
24
- version = "0.1.0"
25
- description = ""
26
- authors = []
27
- readme = "README.md"
28
-
29
- [tool.poetry.dependencies]
30
- python = "3.12.1"
31
- apscheduler = "3.10.1"
32
- black = "23.11.0"
33
- click = "8.1.3"
34
- datasets = "2.14.5"
35
- huggingface-hub = ">=0.18.0"
36
- matplotlib = "3.8.4"
37
- numpy = "1.26.0"
38
- pandas = "2.2.2"
39
- plotly = "5.14.1"
40
- python-dateutil = "2.8.2"
41
- sentencepiece = "^0.2.0"
42
- tqdm = "4.65.0"
43
- transformers = "^4.44.2"
44
- tokenizers = ">=0.15.0"
45
- gradio-space-ci = {git = "https://huggingface.co/spaces/Wauplin/gradio-space-ci", rev = "0.2.3"}
46
- isort = "^5.13.2"
47
- ruff = "^0.3.5"
48
- gradio-leaderboard = "0.0.11"
49
- gradio = {extras = ["oauth"], version = "^4.43.0"}
50
- requests = "^2.31.0"
51
- requests-oauthlib = "^1.3.1"
52
- schedule = "^1.2.2"
53
-
54
- [build-system]
55
- requires = ["poetry-core"]
56
- build-backend = "poetry.core.masonry.api"
 
1
+ [project]
2
+ name = "open-llm-leaderboard"
3
+ version = "2.0"
4
+ description = ""
5
+ authors = []
6
+ readme = "README.md"
7
+ requires-python = "==3.12.1"
8
+
9
+ dependencies = [
10
+ "apscheduler>=3.10.1",
11
+ "black>=24.8.0",
12
+ "click>=8.1.7",
13
+ "datasets>=2.21.0",
14
+ "huggingface-hub>=0.24.6",
15
+ "pandas>=2.2.2",
16
+ "python-dateutil>=2.9.0",
17
+ "sentencepiece>=0.2.0",
18
+ "transformers==4.44.2",
19
+ "tokenizers>=0.19.0",
20
+ "gradio-space-ci @ git+https://huggingface.co/spaces/Wauplin/[email protected]",
21
+ "isort>=5.13.2",
22
+ "ruff>=0.6.4",
23
+ "gradio-leaderboard==0.0.11",
24
+ "gradio[oauth]==4.44.0",
25
+ "schedule>=1.2.2",
26
+ ]
27
+
28
  [tool.ruff]
29
  line-length = 120
30
  target-version = "py312"
31
  include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
 
 
 
32
 
33
  [tool.ruff.lint]
34
+ select = ["E", "F", "ALL"]
35
  fixable = ["ALL"]
36
+ ignore = ["E501", "I", "EM", "FBT", "TRY003", "S101", "D101", "D102", "D103", "D104", "D105", "G004", "D107", "FA102"]
37
 
38
  [tool.isort]
39
  profile = "black"
 
42
  [tool.black]
43
  line-length = 119
44
 
45
+ [tool.hatch.metadata]
46
+ allow-direct-references = true