Spaces:
Running
Running
yangzhitao
commited on
Commit
·
6383948
1
Parent(s):
94fbb79
refactor: downgrade python to 3.10
Browse files- .python-version +1 -1
- pyproject.toml +2 -4
- ruff.toml +8 -8
.python-version
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
3.
|
|
|
|
| 1 |
+
3.10
|
pyproject.toml
CHANGED
|
@@ -3,7 +3,7 @@ name = "leaderboard"
|
|
| 3 |
version = "0.1.0"
|
| 4 |
description = "Leaderboard for Benchmarking LLMs"
|
| 5 |
readme = "README.md"
|
| 6 |
-
requires-python = ">=3.
|
| 7 |
|
| 8 |
dependencies = [
|
| 9 |
"APScheduler",
|
|
@@ -24,6 +24,4 @@ dependencies = [
|
|
| 24 |
]
|
| 25 |
|
| 26 |
[dependency-groups]
|
| 27 |
-
dev = [
|
| 28 |
-
"ruff>=0.14.0,<0.15.0",
|
| 29 |
-
]
|
|
|
|
| 3 |
version = "0.1.0"
|
| 4 |
description = "Leaderboard for Benchmarking LLMs"
|
| 5 |
readme = "README.md"
|
| 6 |
+
requires-python = ">=3.10,<3.11"
|
| 7 |
|
| 8 |
dependencies = [
|
| 9 |
"APScheduler",
|
|
|
|
| 24 |
]
|
| 25 |
|
| 26 |
[dependency-groups]
|
| 27 |
+
dev = ["ruff>=0.14.0,<0.15.0"]
|
|
|
|
|
|
ruff.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
line-length = 119
|
| 2 |
# Assume the minimum Python version
|
| 3 |
-
target-version = '
|
| 4 |
fix = true
|
| 5 |
exclude = ["*.pyi", "*/site-packages"]
|
| 6 |
|
|
@@ -9,13 +9,13 @@ exclude = ["*.pyi", "*/site-packages"]
|
|
| 9 |
############################
|
| 10 |
[lint]
|
| 11 |
select = [
|
| 12 |
-
"E",
|
| 13 |
-
"W",
|
| 14 |
-
"F",
|
| 15 |
-
"PLE",
|
| 16 |
-
"B",
|
| 17 |
-
"TC",
|
| 18 |
-
"I",
|
| 19 |
# "T20", # flake8-print
|
| 20 |
"C4", # flake8-comprehensions
|
| 21 |
"UP", # pyupgrade
|
|
|
|
| 1 |
line-length = 119
|
| 2 |
# Assume the minimum Python version
|
| 3 |
+
target-version = 'py310'
|
| 4 |
fix = true
|
| 5 |
exclude = ["*.pyi", "*/site-packages"]
|
| 6 |
|
|
|
|
| 9 |
############################
|
| 10 |
[lint]
|
| 11 |
select = [
|
| 12 |
+
"E", # pycodestyle: Error
|
| 13 |
+
"W", # pycodestyle: Warning
|
| 14 |
+
"F", # Pyflakes
|
| 15 |
+
"PLE", # pylint: Error
|
| 16 |
+
"B", # flake8-bugbear
|
| 17 |
+
"TC", # flake8-type-checking
|
| 18 |
+
"I", # isort
|
| 19 |
# "T20", # flake8-print
|
| 20 |
"C4", # flake8-comprehensions
|
| 21 |
"UP", # pyupgrade
|