-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (49 loc) · 1.2 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (49 loc) · 1.2 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "daser"
version = "0.1.0"
requires-python = ">=3.10"
license = { file = "LICENSE" }
dependencies = [
"fastapi>=0.110",
"httpx>=0.27",
"msgpack>=1.0",
"pydantic>=2.0",
"transformers>=4.40",
"uvicorn[standard]>=0.29",
"xxhash>=3.4",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"ruff>=0.4",
"mypy>=1.10",
]
service = []
[tool.setuptools.packages.find]
include = ["daser*"]
[tool.setuptools.package-data]
"daser.server.http" = ["static/*"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "B", "SLF", "I"]
[tool.ruff.lint.isort]
known-first-party = ["daser"]
force-sort-within-sections = true
[tool.mypy]
strict = false
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
asyncio_mode = "auto"
tmp_path_retention_policy = "none"
tmp_path_retention_count = 0
markers = [
"integration: requires GPU, vLLM, GDS/cupy/kvikio, model weights, or a DaseR server (deselect with -m 'not integration')",
"slow: slow tests excluded from quick runs (deselect with -m 'not slow')",
]