-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (116 loc) · 2.87 KB
/
pyproject.toml
File metadata and controls
133 lines (116 loc) · 2.87 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
126
127
128
129
130
131
132
133
[project]
name = "dev-kit-mcp-server"
dynamic = ["version"]
description = "A Model Context Protocol server for turning repositories into navigable MCP systems"
authors = [
{ name = "DanielAvdar", email = "66269169+DanielAvdar@users.noreply.github.com" },
]
license = { text = "MIT" }
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
requires-python = ">=3.10"
keywords = [
"python",
"mcp",
"repository-navigation",
"code-exploration",
"code-structure",
"ast",
"tokenize"
]
dependencies = [
"mcp>=1.8.1",
"fastmcp>=2.3.3",
"gitpython>=3.1.43",
"toml>=0.10.2"
]
[project.optional-dependencies]
github = [
"PyGithub",
]
[dependency-groups]
dev = [
"pytest>=7.1.2",
"hypothesis>=6.23.3",
"pre-commit>=2.20.0",
"pre-commit-uv>=4",
"pytest-cov>=4.0.0",
"mypy==1.20.2",
"pytest-parametrization>=2022",
"ruff>=0.8.2",
"pytest-asyncio>=0.23.5",
]
docs = [
"sphinx>=8.2.0; python_version >= '3.11'",
"sphinx>=7.0.0; python_version < '3.11'",
"pydata-sphinx-theme",
"sphinx-rtd-theme>=3.0.2",
]
[project.scripts]
dev-kit-mcp-server = "dev_kit_mcp_server:arun_server"
dkmcp-vscode = "dkmcp_utils:create_vscode_config"
[tool.hatch.build.targets.sdist]
only-include = ["dev_kit_mcp_server","dkmcp_utils"]
source = "."
[tool.hatch.build.targets.wheel]
only-include = ["dev_kit_mcp_server","dkmcp_utils"]
source = "."
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "uv-dynamic-versioning"
[tool.ruff]
line-length = 120
include = ["pyproject.toml", "tests/**", ]
exclude = ["tests/test_mcp_server.py", "tests/test_server.py"]
[tool.ruff.lint]
select = ["F", "B", "I", "F", "W", "E", "A", "N", "D", "DOC"]
fixable = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D", "DOC"]
"docs/*" = ["D", "DOC"]
"dkmcp_utils/*" = ["ALL"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.mypy]
python_version = "3.11"
disallow_untyped_defs = true
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
strict_optional = false
[[tool.mypy.overrides]]
module = [
"fastapi",
"fastapi.responses",
"fastapi_mcp",
"fastmcp",
"pydantic",
"starlette",
"starlette.responses",
"uvicorn"
]
ignore_missing_imports = true
[tool.dkmcp.commands]
pytest = "uv run pytest"
make = "make"
check = "uvx pre-commit run --all-files"
doctest = "make doctest"
[tool.dkmcp.factory]
include = [
"exec_make_target",
"predefined_commands",
"create_dir",
"move_dir",
"remove_file",
"rename_file"
]