Skip to content

Commit 92dfd3e

Browse files
committed
CM-65133 formatting
1 parent 6f01812 commit 92dfd3e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cycode/cli/apps/mcp/mcp_command.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def _get_current_executable() -> str:
6565

6666
return 'cycode'
6767

68+
6869
# ruff: disable[ASYNC109]
6970
async def _run_cycode_command(*args: str, timeout: int = _DEFAULT_RUN_COMMAND_TIMEOUT) -> dict[str, Any]:
7071
"""Run a cycode command asynchronously and return the parsed result.
@@ -108,8 +109,11 @@ async def _run_cycode_command(*args: str, timeout: int = _DEFAULT_RUN_COMMAND_TI
108109
return {'error': f'Command timeout after {timeout} seconds'}
109110
except Exception as e:
110111
return {'error': f'Failed to run command: {e!s}'}
112+
113+
111114
# ruff: enable[ASYNC109]
112115

116+
113117
def _sanitize_file_path(file_path: str) -> str:
114118
"""Sanitize file path to prevent path traversal and other security issues.
115119

0 commit comments

Comments
 (0)