Skip to content
This repository was archived by the owner on Oct 27, 2025. It is now read-only.

Commit cf7c245

Browse files
committed
chore: ruff format & lint
1 parent 5af1939 commit cf7c245

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

src/mcp_search_linkup/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
from . import server
21
import asyncio
32

3+
from . import server
4+
45

56
def main():
67
"""Main entry point for the package."""

src/mcp_search_linkup/server.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import asyncio
2-
from linkup import LinkupClient
3-
from mcp.server.models import InitializationOptions
2+
import logging
3+
4+
import mcp.server.stdio
45
import mcp.types as types
6+
from linkup import LinkupClient
57
from mcp.server import NotificationOptions, Server
6-
import mcp.server.stdio
7-
from pydantic import AnyUrl
8-
import logging
8+
from mcp.server.models import InitializationOptions
99

1010
server = Server("mcp-search-linkup")
1111
logger = logging.getLogger("mcp-search-linkup")
@@ -31,13 +31,15 @@ async def handle_list_tools() -> list[types.Tool]:
3131
return [
3232
types.Tool(
3333
name="search-web",
34-
description="Perform a web search query using Linkup. This tool is helpful for finding information on the web.",
34+
description="Perform a web search query using Linkup. This tool is helpful for finding "
35+
"information on the web.",
3536
inputSchema={
3637
"type": "object",
3738
"properties": {
3839
"query": {
3940
"type": "string",
40-
"description": "The query to search the web with. This should be a question, no need to write in keywords.",
41+
"description": "The query to search the web with. This should be a "
42+
"question, no need to write in keywords.",
4143
},
4244
},
4345
"required": ["query"],

0 commit comments

Comments
 (0)