-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (45 loc) · 1.07 KB
/
pyproject.toml
File metadata and controls
53 lines (45 loc) · 1.07 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pgtuner_mcp"
version = "0.5.2"
authors = [
{ name = "DanielShih", email = "dog830228@gmail.com" },
]
description = "An MCP server for PostgreSQL AI-powered performance tuning with HypoPG support"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"mcp[cli]>=1.12.0",
"psycopg[binary,pool]>=3.1.0",
"pglast>=7.10",
]
[project.optional-dependencies]
sse = [
"starlette>=0.27.0",
"uvicorn>=0.23.0",
]
dev = [
"pytest>=9.0.1",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"ruff>=0.1.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/pgtuner_mcp"]
[project.scripts]
pgtuner_mcp = "pgtuner_mcp:run"
[project.urls]
Source = "https://github.com/isdaniel/pgtuner_mcp"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "C4"]
ignore = ["E501"]