Skip to content

Commit 01463a2

Browse files
author
luoshasha
committed
style: modify code style to mark lint happy.
1 parent cca87ed commit 01463a2

File tree

3 files changed

+172
-202
lines changed

3 files changed

+172
-202
lines changed

mcp_run_python/_cli.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,16 @@ def cli_logic(args_list: Sequence[str] | None = None) -> int:
2020
description=f'mcp-run-python CLI v{__version__}\n\nMCP server for running untrusted Python code.\n',
2121
formatter_class=argparse.RawTextHelpFormatter,
2222
)
23-
parser.add_argument('--host', type=str, help='Host to bind the HTTP server to (default: 127.0.0.1). Use 0.0.0.0 to bind to all interfaces, e.g. when using Docker.')
23+
parser.add_argument(
24+
'--host',
25+
type=str,
26+
help='Host to bind the HTTP server to (default: 127.0.0.1). Use 0.0.0.0 to bind to all interfaces, e.g. when using Docker.',
27+
)
2428
parser.add_argument('--port', type=int, help='Port to run the server on, default 3001.')
2529
parser.add_argument('--deps', '--dependencies', help='Comma separated list of dependencies to install')
26-
parser.add_argument( '--disable-networking', action='store_true', help='Disable networking during execution of python code' )
30+
parser.add_argument(
31+
'--disable-networking', action='store_true', help='Disable networking during execution of python code'
32+
)
2733
parser.add_argument('--verbose', action='store_true', help='Enable verbose logging')
2834
parser.add_argument('--version', action='store_true', help='Show version and exit')
2935
parser.add_argument(

0 commit comments

Comments
 (0)