-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (57 loc) · 1.29 KB
/
pyproject.toml
File metadata and controls
70 lines (57 loc) · 1.29 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
[project]
name = "deepset-mcp"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115.12",
"mcp[cli]>=1.6.0",
"requests>=2.32.3",
"uvicorn>=0.34.2",
]
[project.scripts]
deepset-mcp = "deepset_mcp.main:launch_mcp"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/deepset_mcp"]
[dependency-groups]
dev = [
"pytest"
]
lint = [
"ruff",
]
types = [
"mypy",
"types-requests"
]
[tool.pytest.ini_options]
testpaths = ["test"]
[tool.ruff]
line-length = 120
target-version = "py311"
include = ["pyproject.toml", "src/**/*.py", "test/**/*.py"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"D", # docstrings
]
ignore = [
"D100", # Ok to not have docstring for public modules
"D104", # Ok to not have docstring for public package
"D401", # First line of docstring in imperative mode
]
isort = { combine-as-imports = true, known-first-party = ["deepset_mcp"] }
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.mypy]
strict = true