-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (61 loc) · 1.44 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (61 loc) · 1.44 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
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = [".", "platform"]
[tool.coverage.run]
source = [
"intelligence/agents",
"intelligence/llm",
"intelligence/mcp",
"intelligence/evaluation",
"intelligence/nlp/__init__.py",
"intelligence/nlp/timeline_extractor.py",
"data/rag",
"data/schemas",
"data/embeddings",
"data/vectors",
"platform/api",
"platform/auth",
"platform/core",
]
omit = [
"*/__pycache__/*",
"*/tests/*",
"data/embeddings/build_artifact.py",
]
[tool.coverage.report]
fail_under = 87
show_missing = true
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
[tool.ruff]
line-length = 110
exclude = [
"references",
"intelligence/medical-imaging",
"intelligence/nlp/ner",
"intelligence/nlp/pipeline",
"intelligence/nlp/preprocessing",
"platform/frontend",
".venv",
]
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.ruff.lint.isort]
# `platform/` is on PYTHONPATH rather than a normal src layout (see
# CLAUDE.md), so ruff can't infer these first-party roots on its own.
known-first-party = ["api", "auth", "core", "data", "intelligence", "tests"]
[tool.bandit]
exclude_dirs = [
"references",
"intelligence/medical-imaging",
"intelligence/nlp/ner",
"intelligence/nlp/pipeline",
"intelligence/nlp/preprocessing",
"platform/frontend",
".venv",
"tests",
]