-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (110 loc) · 2.78 KB
/
pyproject.toml
File metadata and controls
121 lines (110 loc) · 2.78 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# =============================================================================
# MONITOR Workspace Root
# =============================================================================
# uv workspace configuration for monorepo with 4 packages.
# This file tells uv how to resolve local package dependencies.
#
# Usage:
# uv sync — install all packages in workspace
# uv sync --package monitor-data-layer — install specific package
#
# =============================================================================
[project]
name = "monitor-workspace"
version = "0.1.0"
description = "MONITOR — AI-powered TTRPG Game Master System"
requires-python = ">=3.11"
dependencies = [
"monitor-data-layer",
"monitor-agents",
"monitor-cli",
"monitor-ui-backend",
"testcontainers>=4.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"pytest-asyncio>=0.21",
"pytest-mock>=3.12",
"mypy>=1.7",
"ruff>=0.1",
]
[dependency-groups]
dev = [
"pytest>=7.4",
"pytest-asyncio>=0.21",
"pytest-mock>=3.12",
"mypy>=1.7",
"ruff>=0.1",
]
[tool.uv.sources]
monitor-data-layer = { workspace = true }
monitor-agents = { workspace = true }
monitor-cli = { workspace = true }
monitor-ui-backend = { workspace = true }
[tool.uv.workspace]
members = [
"packages/data-layer",
"packages/agents",
"packages/cli",
"packages/ui/backend",
]
[tool.mypy]
python_version = "3.11"
strict = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = [
"aiobotocore.*",
"asyncpg.*",
"bs4.*",
"docx.*",
"dspy.*",
"ebooklib.*",
"fitz.*",
"gliner.*",
"spacy.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = [
"monitor_agents.base",
"monitor_data.db.embeddings",
"monitor_data.db.minio",
"monitor_data.db.neo4j",
"monitor_data.db.postgres",
"monitor_data.db.qdrant",
"monitor_data.server",
]
disable_error_code = ["no-untyped-call", "untyped-decorator"]
[[tool.mypy.overrides]]
module = [
"monitor_data.db.mongodb",
]
disable_error_code = ["type-arg", "untyped-decorator"]
[[tool.mypy.overrides]]
module = [
"monitor_data.tools.ingest_tools._chunking",
"monitor_data.tools.ingest_tools.multi_format",
"monitor_data.tools.ingest_tools.pdf_processing",
]
disable_error_code = ["type-arg"]
[[tool.mypy.overrides]]
module = [
"monitor_agents.dspy_runtime",
"monitor_agents.loops.character_creation_loop",
"monitor_agents.loops.conversation_loop",
"monitor_agents.loops.scene_loop",
"monitor_agents.loops.story_loop",
"monitor_agents.loops.world_building_loop",
"monitor_agents.prompts.*",
]
disable_error_code = [
"attr-defined",
"call-overload",
"misc",
"no-any-return",
"no-untyped-call",
"no-untyped-def",
"type-arg",
]