Skip to content

Commit 37cb073

Browse files
committed
Format the MCP server README code block
ruff format now formats Python code blocks inside Markdown, so this never-formatted example fails `ruff format --check .` in CI. Cosmetic only: blank lines around top-level defs and one wrapped argument list.
1 parent 5039366 commit 37cb073

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

are/simulation/apps/mcp/server/are_simulation_mcp_server_README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,16 @@ import asyncio
8686
from mcp import ClientSession, StdioServerParameters
8787
from mcp.client.stdio import stdio_client
8888

89+
8990
async def main():
9091
# Create server parameters for stdio connection
9192
server_params = StdioServerParameters(
9293
command="python",
93-
args=["are_simulation_mcp_server.py", "--app", "are.simulation.apps.calendar.CalendarApp"],
94+
args=[
95+
"are_simulation_mcp_server.py",
96+
"--app",
97+
"are.simulation.apps.calendar.CalendarApp",
98+
],
9499
env=None,
95100
)
96101

@@ -122,6 +127,7 @@ async def main():
122127
# Close the session
123128
await session.close()
124129

130+
125131
if __name__ == "__main__":
126132
asyncio.run(main())
127133
```

0 commit comments

Comments
 (0)