-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (61 loc) · 1.66 KB
/
pyproject.toml
File metadata and controls
70 lines (61 loc) · 1.66 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
[build-system]
requires = ["hatchling>=1.27.0"]
build-backend = "hatchling.build"
[project]
name = "trust-surface"
version = "0.1.0"
description = "Evidence-first CTI framework for trust-surface mapping and social-engineering risk assessment."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "Rob Pinna" }]
dependencies = [
"dnspython>=2.6,<3",
"fastapi>=0.110,<1.0",
"itsdangerous>=2.2,<3",
"jinja2>=3.1,<4",
"playwright>=1.48,<2",
"pypdf>=4.2,<5",
"python-multipart>=0.0.9,<1",
"reportlab>=4.0,<5",
"requests>=2.31,<3",
"SQLAlchemy>=2.0,<3",
"uvicorn[standard]>=0.29,<1.0",
]
[project.optional-dependencies]
dev = [
"mypy>=1.15.0",
"pre-commit>=4.2.0",
"pytest>=8.4.1",
"ruff>=0.13.0",
]
[project.scripts]
trust-surface = "operational_leverage_framework.cli.main:main"
[tool.hatch.build.targets.wheel]
packages = ["src/operational_leverage_framework", "src/rag", "src/reasoner", "app", "config"]
[tool.ruff]
line-length = 120
target-version = "py311"
exclude = [".venv", ".backup_tmp_Base_working", "exports"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "W"]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
check_untyped_defs = true
ignore_missing_imports = true
files = [
"src/operational_leverage_framework",
"app/services/evidence_quality_classifier.py",
"app/services/signal_model.py",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q -p no:tmpdir -p no:cacheprovider"
norecursedirs = [".venv", "__pycache__", ".backup_tmp_Base_working"]