-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
202 lines (186 loc) · 4.54 KB
/
pyproject.toml
File metadata and controls
202 lines (186 loc) · 4.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
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
[build-system]
requires = [
"hatchling",
"hatch-vcs",
"panel>=1.5.0",
"packaging",
]
build-backend = "hatchling.build"
[tool.setuptools_scm]
version_scheme = "post-release"
[project]
name = "holoviz-mcp"
dynamic = ["version"]
description = 'A Model Context Protocol (MCP) server for the HoloViz ecosystem'
readme = "README.md"
license = { text = "BSD" }
requires-python = ">=3.11"
authors = [{ name = "MarcSkovMadsen", email = "marc.skov.madsen@gmail.com" }]
maintainers = [
{ name = "MarcSkovMadsen", email = "marc.skov.madsen@gmail.com" },
]
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"certifi",
"chromadb",
"fastmcp>=3.0,<4",
"GitPython",
"hvplot",
"hvsampledata",
"matplotlib",
"nbconvert",
"packaging",
"panel-full-calendar",
"panel-graphic-walker",
"panel-material-ui",
"panel-splitjs",
"panel-neuroglancer",
"panel-precision-slider",
"panel-web-llm",
"panel",
"playwright",
"plotly",
"pydantic>=2.0",
"PyYAML",
"requests",
"typer",
"watchfiles",
]
[project.urls]
Homepage = "https://github.com/MarcSkovMadsen/holoviz-mcp"
Source = "https://github.com/MarcSkovMadsen/holoviz-mcp"
[project.optional-dependencies]
dev = [
"ipykernel",
"mkdocs_pycafe",
"mkdocs-material",
"mkdocs",
"mkdocstrings[python]",
"pre-commit",
"pytest-asyncio",
"pytest-rerunfailures",
"pytest-xdist",
"pytest",
"types-PyYAML",
]
mypy = [
"mypy",
"types-requests",
"typing-extensions",
]
pydata = [
"altair",
"duckdb",
"ipywidgets_bokeh",
"polars",
"pyarrow",
"pytest",
"scikit-learn",
"seaborn",
"setuptools", # Due to https://github.com/bokeh/ipywidgets_bokeh/issues/125
"shapely",
"vega_datasets",
"yfinance",
]
[tool.ruff]
exclude = [
".git",
"__pycache__",
".tox",
".eggs",
"*.egg",
"docs",
"dist",
"build",
"_build",
"examples",
".ipynb_checkpoints",
"node_modules",
]
line-length = 165
fix = true
[tool.ruff.lint]
ignore = [
"D203", # one-blank-line-before-class and `no-blank-line-before-class` (D211) are incompatible.
"D212", # multi-line-summary-first-line. Alternative is to ignore D213 `multi-line-summary-second-line
"E402", # Module level import not at top of file
"E712", # Avoid equality comparisons to True
"E731", # Do not assign a lambda expression, use a def
"N803", # Argument name should be lowercase
"N806", # Variable name should be lowercase
]
select = [
"B", # flake8-bugbear
"D", # pydocstyle
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
"I", # isort
"PIE",
"T20",
"RUF006",
"UP004",
"UP006",
"UP020",
"UP028",
"UP030",
"UP031",
"UP032",
"UP034",
"UP036",
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.per-file-ignores]
# Ignore all directories named `tests`.
"tests/**" = ["D"]
# Ignore all files that end in `_test.py`.
"*_test.py" = ["D"]
[tool.ruff.lint.isort]
force-single-line = true
[tool.pytest.ini_options]
addopts = "--pyargs --doctest-ignore-import-errors --color=yes"
norecursedirs = "docs .git dist build _build .ipynb_checkpoints examples"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
xfail_strict = true
minversion = "7"
log_cli_level = "INFO"
filterwarnings = [
"error",
"ignore::DeprecationWarning",
"ignore::UserWarning",
]
testpaths = ["tests"]
markers = [
"integration: marks tests that require the documentation index (slow)",
]
[tool.codespell]
ignore-words-list = "acn"
skip = "*.js,*.css,*.svg,*.json"
[tool.mypy]
python_version = '3.11'
no_implicit_optional = true
check_untyped_defs = true
[tool.hatch.build.targets.wheel.force-include]
"skills" = "holoviz_mcp/skills"
[tool.hatch.version]
source = "vcs"
raw-options = { version_scheme = "no-guess-dev" }
[project.scripts]
"holoviz-mcp" = "holoviz_mcp.cli:cli_main"
"hv" = "holoviz_mcp.cli:cli_main"
"display-server" = "holoviz_mcp.display_mcp.cli:main"