-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (95 loc) · 2.49 KB
/
pyproject.toml
File metadata and controls
106 lines (95 loc) · 2.49 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
[build-system]
requires = ["setuptools>=77", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "lerim"
version = "0.1.83"
description = "Continual learning layer for coding agents and software projects."
readme = "README.md"
requires-python = ">=3.11"
license = "BUSL-1.1"
dependencies = [
"pydantic==2.12.5",
"baml-py==0.222.0",
"langgraph==1.2.0",
"pydantic-ai==1.70.0",
"pydantic-evals==1.70.0",
"eval_type_backport==0.3.1; python_version < '3.13'",
"python-dotenv==1.2.2",
"PyYAML==6.0.3",
"loguru==0.7.3",
"python-frontmatter==1.1.0",
"openrouter==0.7.11",
"mlflow==3.11.1",
"rich==14.3.3",
"numpy>=2.0",
"onnxruntime>=1.22.0",
"huggingface-hub>=0.35.0",
"tokenizers>=0.21.0",
"sqlite-vec>=0.1.6",
]
[project.urls]
Homepage = "https://lerim.dev"
Documentation = "https://docs.lerim.dev"
Repository = "https://github.com/lerim-dev/lerim-cli"
Changelog = "https://github.com/lerim-dev/lerim-cli/blob/main/CHANGELOG.md"
Issues = "https://github.com/lerim-dev/lerim-cli/issues"
[project.optional-dependencies]
mlx = [
"vllm-mlx>=0.2.6",
]
test = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"pytest-xdist>=3.5",
"pytest-timeout>=2.4",
]
lint = [
"ruff>=0.15.0",
"vulture>=2.14",
]
docs = [
"mkdocs-material>=9.6",
"mkdocstrings[python]>=0.27",
]
[project.scripts]
lerim = "lerim.server.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
include = ["lerim*"]
[tool.setuptools.package-data]
lerim = [
"agents/baml_src/*.baml",
"config/default.toml",
"skills/*.md",
"server/lerim-seccomp.json",
]
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests/unit", "tests/smoke", "tests/integration", "tests/e2e"]
markers = [
"integration: Tests that hit real external services",
"e2e: End-to-end tests that exercise full flows",
"smoke: Quick LLM sanity checks (requires ollama)",
"agent: Agentic integration tests",
"llm: Non-agentic LLM integration tests",
"openrouter: OpenRouter provider tests",
"openai: OpenAI provider tests",
"zai: ZAI provider tests",
"kimi: Kimi provider tests",
]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]
extend-select = ["B006"]
ignore = ["E501"]
[tool.ruff]
extend-exclude = ["src/lerim/agents/baml_client"]
[tool.vulture]
paths = ["src/lerim/", "vulture_whitelist.py"]
exclude = ["*/src/lerim/agents/baml_client/*"]
min_confidence = 60
[dependency-groups]
dev = [
"jupyterlab>=4.5.5",
"matplotlib>=3.10.8",
]