From 1745749cd2745c94c3f852e9c02dfde19d8d9c20 Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Fri, 28 Mar 2025 20:53:41 +0100 Subject: Fix ruff errors and warnings in hello_world service --- servers/hello_world/pyproject.toml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 servers/hello_world/pyproject.toml (limited to 'servers/hello_world/pyproject.toml') diff --git a/servers/hello_world/pyproject.toml b/servers/hello_world/pyproject.toml new file mode 100644 index 0000000..2a64731 --- /dev/null +++ b/servers/hello_world/pyproject.toml @@ -0,0 +1,35 @@ +[project] +name = "mcp-server-hello-world" +version = "0.2.0" +description = "A simple Hello World MCP server" +readme = "README.md" +requires-python = ">=3.11" +license = {text = "MIT"} +authors = [ + {name = "Your Name", email = "your.email@example.com"}, +] +dependencies = [ + "mcp>=1.6.0", + "pydantic>=2.11.0", +] + +[tool.uv] +dev-dependencies = [ + "pytest>=8.3.5", + "pytest-asyncio>=0.26.0", + "pytest-cov>=6.0.0 ", +] + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = "test_*.py" +python_classes = "Test*" +python_functions = "test_*" +asyncio_mode = "auto" + +[project.scripts] +mcp-hello-world = "mcp_server_hello_world.cli:run_server" -- cgit v1.2.3