-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (93 loc) · 2.5 KB
/
pyproject.toml
File metadata and controls
105 lines (93 loc) · 2.5 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
[project]
name = "amelia"
version = "0.20.0"
description = "A local agentic coding system with configurable profiles."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"langgraph>=1.0.8",
"claude-agent-sdk>=0.1.50",
"deepagents>=0.5.5",
"langchain-openai>=1.1.14",
"pydantic>=2.12.4",
"rich>=14.1.0",
"pyyaml>=6.0.2",
"loguru>=0.7.2",
"httpx>=0.28.0",
"typer>=0.15.1",
"fastapi>=0.115.0",
"uvicorn[standard]>=0.40.0",
"pydantic-settings>=2.6.0",
"psutil>=6.1.0",
"asyncpg>=0.30.0",
"langgraph-checkpoint-postgres>=3.0.4",
"websockets>=15.0",
"tiktoken>=0.7.0",
"docling>=2.91.0",
"docling-core[chunking-openai]>=2.74.0",
"pgvector>=0.3.7",
"daytona-sdk>=0.148.0",
]
[project.scripts]
amelia = "amelia.main:app"
[dependency-groups]
dev = [
"pytest>=9.0.3",
"pytest-asyncio>=0.24.0",
"ruff>=0.8.0",
"mypy>=1.13.0",
"types-PyYAML>=6.0.0",
"types-psutil>=6.1.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["amelia"]
artifacts = ["amelia/server/static/*", "amelia/skills/**/*.md"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-m 'not integration'"
markers = [
"integration: marks tests as integration tests requiring external services (deselect with '-m \"not integration\"')",
]
filterwarnings = [
"ignore:websockets.legacy is deprecated:DeprecationWarning",
"ignore:websockets.server.WebSocketServerProtocol is deprecated:DeprecationWarning",
]
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "PLC0415"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"amelia/server/routes/*.py" = ["B008"] # FastAPI Depends() in defaults is intentional
"tests/**/*.py" = ["PLC0415"] # Imports inside test functions are intentional
[tool.ruff.lint.isort]
known-first-party = ["amelia"]
force-single-line = false
combine-as-imports = true
lines-after-imports = 2
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
[tool.mypy]
python_version = "3.12"
strict = true
mypy_path = "stubs"
[[tool.mypy.overrides]]
module = [
"asyncpg",
"langgraph.checkpoint.postgres",
"langgraph.checkpoint.postgres.aio",
"psutil",
"claude_agent_sdk",
"pgvector.asyncpg",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = [
"docling",
"docling.*",
]
follow_imports = "skip"