-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (86 loc) · 2.11 KB
/
pyproject.toml
File metadata and controls
96 lines (86 loc) · 2.11 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
[project]
name = "kubeflow-mcp"
version = "0.1.0-dev"
requires-python = ">=3.10"
description = "Model Context Protocol server for AI-assisted development with Kubeflow"
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [{name = "Kubeflow Authors"}]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"fastmcp>=2.0.0",
"pydantic>=2.0",
"pyyaml>=6.0",
"click>=8.0",
"kubeflow>=0.4.0",
]
[project.optional-dependencies]
hub = ["kubeflow[hub]>=0.4.0"]
spark = ["kubeflow[spark]>=0.4.0"]
all = ["kubeflow[hub]>=0.4.0", "kubeflow[spark]>=0.4.0"]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=4.0",
"pytest-benchmark>=4.0",
"ruff>=0.9",
"huggingface-hub>=0.20",
]
docs = [
"sphinx>=7.0",
"furo>=2024.1.29",
"sphinx-copybutton>=0.5",
"sphinx-design>=0.5",
]
[project.scripts]
kubeflow-mcp = "kubeflow_mcp.cli:cli"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["kubeflow_mcp"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["kubeflow_mcp", "tests"]
addopts = "-v --tb=short"
[tool.ruff]
target-version = "py310"
line-length = 100
src = ["kubeflow_mcp", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["kubeflow_mcp"]
[tool.coverage.run]
source = ["kubeflow_mcp"]
omit = ["*_test.py"]
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"pass",
"raise ImportError",
]