-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (82 loc) · 2.25 KB
/
pyproject.toml
File metadata and controls
94 lines (82 loc) · 2.25 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "buchi-cli"
version = "0.1.2"
description = "AI coding assistant powered by Ollama"
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
authors = [
{name = "Casey Dale Siatong", email = "daledev07@gmail.com"}
]
keywords = ["ai", "cli", "coding-assistant", "ollama", "llm"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Code Generators",
]
# Note: I used '>=' to allow for security updates, can use '==' if want strict pinning.
dependencies = [
"typer>=0.12.0",
"rich>=13.0.0",
"requests>=2.32.0",
"langchain>=1.0.0",
"langchain-community>=0.4.0",
"langchain-ollama>=1.0.0",
"langchain-core>=1.0.0",
"langgraph>=1.0.0",
"langgraph-prebuilt>=1.0.0",
"ollama>=0.6.0",
"pydantic>=2.10.0",
"python-dotenv>=1.0.0",
"sqlalchemy>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=5.0.0",
"ruff>=0.3.0",
"build>=1.0.0",
"types-requests",
"types-PyYAML",
]
[project.urls]
Homepage = "https://github.com/DaleStack/buchi"
Repository = "https://github.com/DaleStack/buchi.git"
Issues = "https://github.com/DaleStack/buchi/issues"
[project.scripts]
buchi = "buchi.cli:app"
# --- Tool Configurations ---
[tool.setuptools.packages.find]
where = ["."]
include = ["buchi*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --strict-markers --disable-warnings --cov=buchi --cov-report=term-missing"
markers = [
"integration: End-to-end tests",
"requires_ollama: Tests that require local LLM running",
]
filterwarnings = [
"ignore::DeprecationWarning:langgraph.*",
"ignore::DeprecationWarning:langchain.*"
]
[tool.coverage.run]
source = ["buchi"]
omit = ["tests/*"]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "UP"]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"