-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (54 loc) · 1.13 KB
/
Copy pathpyproject.toml
File metadata and controls
61 lines (54 loc) · 1.13 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
[build-system]
requires = ["setuptools>=75", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "local-academic-paper-chatbot"
version = "0.1.0.dev0"
requires-python = ">=3.12,<3.13"
dependencies = [
"fastapi",
"httpx",
"jinja2",
"keyring",
"numpy",
"onnxruntime",
"pdfplumber",
"platformdirs",
"psutil",
"pydantic>=2",
"pydantic-settings",
"pypdfium2",
"python-multipart",
"tokenizers==0.20.0",
"uvicorn",
]
[project.optional-dependencies]
dev = [
"mypy",
"pip-tools",
"pytest",
"pytest-asyncio",
"pytest-cov",
"reportlab",
"respx",
"ruff",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--strict-markers --strict-config"
markers = [
"llama_cpp: requires a pinned local llama.cpp runtime and GGUF",
"real_embedding: requires the pinned local BGE artifact root",
"reference_hardware: runs only on the recorded 16 GB machine",
]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "RUF"]
[tool.mypy]
python_version = "3.12"
strict = true
packages = ["academic_chatbot"]