Skip to content

Commit 8863d88

Browse files
committed
fix: lint
Signed-off-by: Shingo OKAWA <[email protected]>
1 parent 1c49f84 commit 8863d88

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

examples/apicatalog/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
@click.command()
2525
@click.option('--host', 'host', default='localhost')
2626
@click.option('--port', 'port', default=9999)
27-
def main(host: str, port: int):
27+
def main(host: str, port: int) -> None:
28+
"""Start the API catalog server with the given host and port."""
2829
hello_skill = AgentSkill(
2930
id='hello_world',
3031
name='Returns hello world',

examples/apicatalog/agent_executors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class HelloWorldAgentExecutor(AgentExecutor):
2626
Intended for demonstration, testing, or HelloWorld scaffolding purposes.
2727
"""
2828

29-
def __init__(self):
29+
def __init__(self) -> None:
3030
"""Initializes the executor with a HelloWorldAgent instance."""
3131
self.agent = HelloWorldAgent()
3232

@@ -88,7 +88,7 @@ class EchoAgentExecutor(AgentExecutor):
8888
Intended for demonstration, testing, or HelloWorld scaffolding purposes.
8989
"""
9090

91-
def __init__(self):
91+
def __init__(self) -> None:
9292
"""Initializes the executor with a EchoAgent instance."""
9393
self.agent = EchoAgent()
9494

0 commit comments

Comments
 (0)