-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (46 loc) · 838 Bytes
/
pyproject.toml
File metadata and controls
51 lines (46 loc) · 838 Bytes
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
[project]
name = "sentinel"
version = "0.1.0"
description = "Project Sentinel moderation API vertical slice"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.131.0",
"limits",
"prometheus-client",
"pydantic",
"psycopg[binary]",
"psycopg-pool",
"redis",
"structlog",
"tenacity",
"uvicorn",
"PyJWT",
]
[project.optional-dependencies]
dev = [
"httpx",
"pre-commit",
"pyright",
"pyyaml",
"pytest",
"ruff",
]
ops = [
"alembic",
]
ml = [
"fasttext-wheel",
"sentence-transformers",
]
[tool.pytest.ini_options]
pythonpath = ["src", "."]
testpaths = ["tests"]
[tool.ruff]
target-version = "py312"
line-length = 100
src = ["src", "scripts", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
[tool.ruff.lint.per-file-ignores]
"src/sentinel_api/main.py" = ["B008"]