forked from frappe/mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (60 loc) · 1.54 KB
/
pyproject.toml
File metadata and controls
73 lines (60 loc) · 1.54 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "frappe-mcp"
description = "Frappe MCP allows building MCP compatibility into Frappe apps"
authors = [
{ name = "Alan Tom", email = "me@18alan.space" },
{ name = "Frappe Techonologies Pvt Ltd", email = "developers@frappe.io" },
]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"Werkzeug==3.1.3",
"pydantic~=2.11.7",
"jsonschema (>=4.24.0,<5.0.0)",
"Click~=8.2.0",
]
dynamic = ["version"]
license = "MIT"
license-files = ["LICENSE"]
[project.urls]
Homepage = "https://github.com/frappe/frappe-mcp"
Documentation = "https://github.com/frappe/frappe-mcp"
Source = "https://github.com/frappe/frappe-mcp"
[project.scripts]
frappe-mcp = "frappe_mcp.cli:run"
[dependency-groups]
dev = ["pytest>=8.4.1", "ruff>=0.12.0"]
[tool.hatch.version]
path = "frappe_mcp/__init__.py"
[tool.pytest.ini_options]
python_files = ["test_*.py"]
[tool.ruff]
line-length = 88 # Same as Black.
indent-width = 4
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"N", # pep8-naming
"RUF", # ruff-specific rules
"FA",
]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
[tool.ruff.lint.per-file-ignores]
"frappe_mcp/server/types.py" = ["N815", "UP007"]
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true