Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (66 loc) · 1.69 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (66 loc) · 1.69 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
[project]
name = "lecode"
version = "0.3.0"
description = "A minimalist terminal AI coding agent (OpenRouter / OpenAI-compatible)"
readme = "README.md"
requires-python = ">=3.15"
license = { text = "MIT" }
dependencies = [
"prompt_toolkit==3.0.53",
"rich==15.0.0",
"httpx==0.28.1",
"pydantic==2.14.3",
"PyYAML==6.0.3",
"mcp==2.3.0",
"tree-sitter==0.26.1",
"tree-sitter-bash==0.25.1",
"tree-sitter-c==0.24.2",
"tree-sitter-cpp==0.23.4",
"tree-sitter-elixir==0.3.5",
"tree-sitter-go==0.25.0",
"tree-sitter-java==0.23.5",
"tree-sitter-javascript==0.25.0",
"tree-sitter-python==0.25.0",
"tree-sitter-ruby==0.23.1",
"tree-sitter-rust==0.24.2",
"tree-sitter-typescript==0.23.2",
"tree-sitter-zig==1.1.2",
"typer==0.29.1",
]
[project.scripts]
lecode = "lecode.cli:main"
[project.optional-dependencies]
telemetry = [
"opentelemetry-exporter-otlp-proto-http==1.45.2",
"opentelemetry-sdk==1.45.2",
"sentry-sdk==2.75.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/lecode"]
[dependency-groups]
dev = [
"pyte==0.8.2",
"pytest==9.2.0",
"pytest-asyncio==1.5.0",
"respx==0.23.1",
"ruff==0.17.5",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
"needs_fd: requires the fd binary on PATH",
"needs_rg: requires the ripgrep (rg) binary on PATH",
"needs_rtk: requires the rtk binary on PATH",
]
[tool.ruff]
target-version = "py315"
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["B011"]