Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (58 loc) · 1.64 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (58 loc) · 1.64 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[project]
name = "everbench"
version = "0.1.0"
requires-python = ">=3.11,<3.14"
dependencies = [
"alembic>=1.14,<2",
"boto3>=1.35,<2",
"click>=8.1,<9",
"cloudpickle>=3.1,<4",
"flask>=3.1,<4",
"gunicorn>=23,<24",
"httpx>=0.28,<1",
"httpx-sse>=0.4,<0.5",
"openai>=3.7.0,<4.0.0",
"pyarrow>=18,<20",
"python-dotenv>=1.0,<2",
"river>=0.23,<0.24",
"sqlalchemy>=2,<3",
]
[project.scripts]
everbench = "everbench.cli:main"
[build-system]
requires = ["uv_build>=0.11.29,<0.12.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"prek>=0.5.2",
"pytest>=9.1.1",
"ruff>=0.16.5",
"ty>=0.0.77",
]
upload-models = [
"scikit-learn>=1.9.0,<2.0.0",
"vowpalwabbit>=9.11.2,<10.0.0",
]
[tool.uv]
default-groups = ["dev", "upload-models"]
[tool.pytest.ini_options]
pythonpath = ["."]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
# A focused baseline: correctness, import hygiene, modern syntax, and common
# bug patterns. Additional rule families can be adopted deliberately later.
select = ["E4", "E7", "E9", "F", "I", "UP", "B", "PLR0917", "TID251"]
[tool.ruff.lint.flake8-tidy-imports.banned-api]
"collections.namedtuple".msg = "Use a keyword-only dataclass for records."
"typing.NamedTuple".msg = "Use a keyword-only dataclass for records."
"typing_extensions.NamedTuple".msg = "Use a keyword-only dataclass for records."
[tool.ruff.lint.pylint]
# Application APIs require named arguments; framework callbacks use local exemptions.
max-positional-args = 0
[tool.ruff.lint.isort]
known-first-party = ["everbench"]
[tool.ty.environment]
python-version = "3.11"
root = ["src", "."]