-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (114 loc) · 3.01 KB
/
Copy pathpyproject.toml
File metadata and controls
125 lines (114 loc) · 3.01 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
[build-system]
requires = ["setuptools>=45", "wheel", "build"]
build-backend = "setuptools.build_meta"
[project]
name = "code-understanding-mcp-server"
version = "0.2.0"
description = "MCP server for code understanding and context generation"
readme = "README.md"
authors = [
{name = "Tim Kitchens", email = "codingthefuturewithai@gmail.com"}
]
license = {text = "MIT"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.11,<3.13"
dependencies = [
"mcp==1.6.0",
"mcp[cli]==1.6.0",
"gitpython==3.1.44",
"langchain==0.3.25",
"aiohttp==3.11.18",
"pyyaml==6.0.2",
"typing-extensions==4.13.2",
"pytest==8.4.0",
"pytest-asyncio==1.0.0",
"pytest-cov==6.2.1",
"pathspec==0.12.1",
"aider-chat==0.84.0", # Brings in all needed tree-sitter and parsing dependencies
"configargparse==1.7.1", # Updated to non-yanked version
"identify==2.6.12", # For reliable text file detection
"lizard==1.17.31",
"debugpy==1.8.14", # For VS Code debugging support
"platformdirs==4.3.8",
"filelock==3.18.0"
]
[project.optional-dependencies]
dev = [
"pytest==8.4.0",
"pytest-asyncio==1.0.0",
"pytest-cov==6.2.1",
"black==25.1.0",
"isort==6.0.1",
"mypy==1.16.1",
"pre-commit==4.2.0"
]
[project.scripts]
# Align script name with the package name for simplicity with uvx
code-understanding-mcp-server = "code_understanding.mcp.server.app:main"
[tool.setuptools.packages.find]
where = ["src"]
include = ["code_understanding*"]
namespaces = true
[tool.setuptools.package-data]
code_understanding = [
"config/*.yaml",
"resources/*",
"resources/*.txt"
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = ["--import-mode=importlib"]
[tool.coverage.run]
branch = true
source = ["code_understanding"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"pass",
"raise ImportError",
]
ignore_errors = true
omit = [
"tests/*",
"setup.py",
]
[tool.black]
line-length = 88
target-version = ["py311", "py312"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = false
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_optional = true