Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (69 loc) · 1.54 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (69 loc) · 1.54 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[build-system]
requires = ["setuptools>=75", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "sentinel-ai"
version = "0.1.0"
description = "Production-oriented email threat detection and digital forensics platform."
readme = "README.md"
requires-python = ">=3.14,<3.15"
license = { file = "LICENSE" }
dependencies = [
"fastapi>=0.115,<1.0",
"uvicorn[standard]>=0.34,<1.0",
"pydantic>=2.10,<3.0",
"pydantic-settings>=2.7,<3.0",
"python-multipart>=0.0.20,<1.0",
"SQLAlchemy>=2.0,<3.0",
"alembic>=1.14,<2.0",
"psycopg[binary]>=3.2,<4.0",
"httpx>=0.28,<1.0",
"structlog>=25.1,<26.0",
"cryptography>=44.0,<46.0",
"python-dotenv>=1.0,<2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3,<9.0",
"pytest-asyncio>=0.25,<1.0",
"pytest-cov>=6.0,<7.0",
"ruff>=0.9,<1.0",
"mypy>=1.14,<2.0",
"pre-commit>=4.0,<5.0",
]
ml = [
"scikit-learn>=1.6,<2.0",
"numpy>=2.2,<3.0",
"pandas>=2.2,<3.0",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["app*", "providers*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = [
"-ra",
"--strict-markers",
"--strict-config",
]
asyncio_mode = "auto"
[tool.ruff]
line-length = 100
target-version = "py314"
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"B",
"UP",
]
[tool.mypy]
python_version = "3.14"
check_untyped_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true