-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpyproject.toml
More file actions
129 lines (109 loc) · 2.84 KB
/
pyproject.toml
File metadata and controls
129 lines (109 loc) · 2.84 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
122
123
124
125
126
127
128
129
[project]
name = "open-edison"
version = "0.1.44"
description = "Open-source MCP security, aggregation, and monitoring. Single-user, self-hosted MCP proxy."
readme = "README.md"
authors = [
{ name = "Hugo Berg", email = "hugo@edison.watch" }
]
dependencies = [
"pyyaml>=6.0.2",
"python-dotenv>=1.0.1",
"loguru>=0.7.3",
"fastmcp>=2.10.5",
"fastapi>=0.116.1",
"uvicorn>=0.35.0",
"aiohttp>=3.12.14",
"httpx>=0.28.1",
"starlette>=0.47.1",
"sqlalchemy>=2.0.41",
"aiosqlite>=0.20.0",
"opentelemetry-api>=1.36.0",
"opentelemetry-sdk>=1.36.0",
"opentelemetry-exporter-otlp>=1.36.0",
"hatchling>=1.27.0",
"questionary>=2.1.1",
]
requires-python = ">= 3.12"
[project.scripts]
open-edison = "src.cli:main"
open_edison = "src.cli:main"
mcp-importer = "src.mcp_importer.__main__:main"
mcp-importer-quick = "src.mcp_importer.quick_cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
managed = true
dev-dependencies = [
"basedpyright>=1.21.0",
"ruff>=0.12.3",
"pytest>=8.3.3",
"pytest-asyncio>=1.0.0",
"vulture>=2.11",
"twine>=5.1.1",
"ty>=0.0.1a19",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src"]
include = [
"README.md",
"LICENSE",
"config.json",
"tool_permissions.json",
"resource_permissions.json",
"prompt_permissions.json",
"docs/**",
]
force-include = { "src/frontend_dist" = "frontend_dist" }
[tool.hatch.build.targets.wheel.hooks.custom]
path = "hatch_build.py"
[tool.hatch.build.targets.sdist]
include = [
"README.md",
"LICENSE",
"config.json",
"tool_permissions.json",
"resource_permissions.json",
"prompt_permissions.json",
"src/**",
"src/frontend_dist/**",
"docs/**",
]
[tool.hatch.build.targets.sdist.hooks.custom]
path = "hatch_build.py"
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "C90", "I", "N", "UP", "B", "A", "C4", "PIE", "SIM", "RET"]
ignore = ["E501"] # Line too long (handled by formatter)
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-v --tb=short"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
[tool.pyright]
typeCheckingMode = "strict"
useLibraryCodeForTypes = true
include = ["src"]
ignore = [".venv", "tests/**", "alembic", "tests"]
reportMissingTypeStubs = true
reportUnusedFunction = false # Disable unused function warnings since we have many dynamically registered functions
venvPath = ".venv"
extraPaths = ["src"]
[tool.ty.rules]
possibly-unresolved-reference = "error"
index-out-of-bounds = "error"
[tool.ty.src]
exclude = ["tests/**"]
[tool.vulture]
exclude = ["tests", "src/frontend_dist"]