mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
chore(lint): Apply comprehensive linting and formatting fixes (#10287)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
@@ -32,10 +32,7 @@ CONVO_URL = HOST + '/conversations/{}'
|
||||
|
||||
|
||||
async def get_convo_link(service: GitService, conversation_id: str, body: str) -> str:
|
||||
"""
|
||||
Appends a followup link, in the PR body, to the OpenHands conversation that opened the PR
|
||||
"""
|
||||
|
||||
"""Appends a followup link, in the PR body, to the OpenHands conversation that opened the PR"""
|
||||
if server_config.app_mode != AppMode.SAAS:
|
||||
return body
|
||||
|
||||
@@ -94,7 +91,6 @@ async def create_pr(
|
||||
] = None,
|
||||
) -> str:
|
||||
"""Open a PR in GitHub"""
|
||||
|
||||
logger.info('Calling OpenHands MCP create_pr')
|
||||
|
||||
request = get_http_request()
|
||||
@@ -165,7 +161,6 @@ async def create_mr(
|
||||
] = None,
|
||||
) -> str:
|
||||
"""Open a MR in GitLab"""
|
||||
|
||||
logger.info('Calling OpenHands MCP create_mr')
|
||||
|
||||
request = get_http_request()
|
||||
@@ -233,7 +228,6 @@ async def create_bitbucket_pr(
|
||||
description: Annotated[str | None, Field(description='PR description')],
|
||||
) -> str:
|
||||
"""Open a PR in Bitbucket"""
|
||||
|
||||
logger.info('Calling OpenHands MCP create_bitbucket_pr')
|
||||
|
||||
request = get_http_request()
|
||||
|
||||
Reference in New Issue
Block a user