-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (46 loc) · 1.35 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (46 loc) · 1.35 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
[project]
name = "sentinel"
version = "0.1.0"
description = "Sentinel — Governed Document Intelligence Platform (portfolio; all data synthetic)"
requires-python = ">=3.12"
dependencies = [
"alembic>=1.13",
"fastapi>=0.115",
"httpx>=0.27",
"pgvector>=0.3",
"psycopg[binary]>=3.2",
"pydantic-settings>=2.6",
"sqlalchemy>=2.0",
"structlog>=24.4",
"tiktoken>=0.8",
"uvicorn[standard]>=0.32",
]
[dependency-groups]
dev = [
"ruff>=0.8",
"mypy>=1.13",
"pytest>=8.3",
"pre-commit>=4.0",
]
# This repo is a deployable application, not a distributable library, and the
# importable code lives under `backend/`. Tell uv not to build/install the root
# project; imports resolve via pytest `pythonpath` and uvicorn's `--app-dir`.
[tool.uv]
package = false
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM", "C4"]
[tool.mypy]
python_version = "3.12"
strict = true
# Never recurse into the virtualenv or future-milestone trees when `mypy .` runs.
exclude = '(^|/)(\.venv|\.git|node_modules|frontend|infra|dist|build)(/|$)'
# pgvector ships without a py.typed marker; treat as Any rather than failing strict mypy.
[[tool.mypy.overrides]]
module = ["pgvector.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["backend/tests"]