chore(lint): Apply comprehensive linting and formatting fixes (#10287)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Xingyao Wang
2025-08-13 15:13:19 -04:00
committed by GitHub
parent e39bf80239
commit c2f46200c0
164 changed files with 526 additions and 1023 deletions

View File

@@ -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()