-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (47 loc) · 1.6 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (47 loc) · 1.6 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
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "quick_model_tests"
version = "0.1.0"
description = "Quick, deterministic capability + conformance tests for a served (OpenAI-compatible) model endpoint and the system around it"
requires-python = ">=3.9"
license = { file = "LICENSE" }
classifiers = ["License :: OSI Approved :: Apache Software License"]
dependencies = [
"requests",
"pytest",
]
[project.optional-dependencies]
dev = ["ruff"]
# Heavy, opt-in: only needed for the future `--serve` (local vLLM) mode.
serve = ["vllm"]
[project.scripts]
quick-model-tests = "quick_model_tests.cli:main"
qmt = "quick_model_tests.cli:main"
[tool.setuptools.packages.find]
include = ["quick_model_tests*"]
[tool.setuptools.package-data]
# Ship the multimodal fixture images/audio in the wheel (needed by the remote
# pip-install flow, not just a source checkout).
quick_model_tests = ["assets/*"]
[tool.pytest.ini_options]
testpaths = ["quick_model_tests/suites"]
python_files = ["*.py"]
markers = [
"core: API contract basics",
"streaming: SSE streaming behavior",
"tools: function / tool calling",
"multimodal: image and audio inputs",
"multiturn: multi-turn conversation state",
"reasoning: <think> / inner-monologue handling",
"robustness: chat-template injection & error paths",
"perf: performance smoke (excluded from default run)",
]
addopts = "-ra -m 'not perf'"
[tool.ruff]
target-version = "py39"
line-length = 88
[tool.ruff.lint]
# Defaults (E, F) + import sorting (I) + pyupgrade (UP) + bugbear (B).
extend-select = ["I", "UP", "B"]