diff --git a/merico/github/code_task_summary/command.py b/merico/github/code_task_summary/command.py
index 3d793bc..895a888 100644
--- a/merico/github/code_task_summary/command.py
+++ b/merico/github/code_task_summary/command.py
@@ -7,7 +7,7 @@
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
from common_util import assert_exit, ui_edit # noqa: E402
-from git_api import (
+from git_api import ( # noqa: E402
check_git_installed,
get_current_branch,
get_github_repo,
@@ -25,9 +25,9 @@ def extract_issue_id(branch_name):
# Function to generate a random branch name
PROMPT = (
- "You are a coding engineer, required to summarize the ISSUE description into a coding task description of no more than 50 words. \n"
- "The ISSUE description is as follows: {issue_body}, please summarize the corresponding coding task description.\n"
- 'The coding task description should be output in JSON format, in the form of: {{"summary": "code task summary"}}\n'
+ "You are a coding engineer, required to summarize the ISSUE description into a coding task description of no more than 50 words. \n" # noqa: E501
+ "The ISSUE description is as follows: {issue_body}, please summarize the corresponding coding task description.\n" # noqa: E501
+ 'The coding task description should be output in JSON format, in the form of: {{"summary": "code task summary"}}\n' # noqa: E501
)
diff --git a/merico/github/new_issue/command.py b/merico/github/new_issue/command.py
index e1b95a7..02bec1b 100644
--- a/merico/github/new_issue/command.py
+++ b/merico/github/new_issue/command.py
@@ -12,7 +12,7 @@
"Based on the following description, "
"suggest a title and a detailed body for a GitHub issue:\n\n"
"Description: {description}\n\n"
- 'Output as valid JSON format: {{"title": "
", "body": " use \\n as new line flag."}} '
+ 'Output as valid JSON format: {{"title": "", "body": " use \\n as new line flag."}} ' # noqa: E501
)
diff --git a/merico/github/new_issue/from_task/command.py b/merico/github/new_issue/from_task/command.py
index 9edee06..6a80bfb 100644
--- a/merico/github/new_issue/from_task/command.py
+++ b/merico/github/new_issue/from_task/command.py
@@ -3,10 +3,9 @@
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", ".."))
-# noqa: E402
from common_util import assert_exit, editor, ui_edit # noqa: E402
from devchat.llm import chat_json # noqa: E402
-from git_api import (
+from git_api import ( # noqa: E402
create_issue,
get_issue_info_by_url,
parse_sub_tasks,
diff --git a/merico/github/new_pr/command.py b/merico/github/new_pr/command.py
index bb9c5a7..42b2f62 100644
--- a/merico/github/new_pr/command.py
+++ b/merico/github/new_pr/command.py
@@ -7,7 +7,7 @@
from common_util import assert_exit, ui_edit # noqa: E402
from devchat.llm import chat_json # noqa: E402
-from git_api import (
+from git_api import ( # noqa: E402
auto_push,
create_pull_request,
get_commit_messages,
diff --git a/merico/github/update_pr/command.py b/merico/github/update_pr/command.py
index 7cf2b15..f339f58 100644
--- a/merico/github/update_pr/command.py
+++ b/merico/github/update_pr/command.py
@@ -6,10 +6,10 @@
from common_util import assert_exit, ui_edit # noqa: E402
-from devchat.llm import (
- chat_json, # noqa: E402
+from devchat.llm import ( # noqa: E402
+ chat_json,
)
-from git_api import (
+from git_api import ( # noqa: E402
auto_push,
get_commit_messages,
get_current_branch,
diff --git a/merico/pr/command.py b/merico/pr/command.py
index 5ae28ee..416383a 100644
--- a/merico/pr/command.py
+++ b/merico/pr/command.py
@@ -1,6 +1,7 @@
"""
/pr.describe https://github.com/devchat-ai/devchat-vscode/pull/25
"""
+# ruff: noqa: E402
import logging
import os
diff --git a/merico/pr/custom_suggestions_config.py b/merico/pr/custom_suggestions_config.py
index f3e3b43..c0f1398 100644
--- a/merico/pr/custom_suggestions_config.py
+++ b/merico/pr/custom_suggestions_config.py
@@ -1,3 +1,4 @@
+# ruff: noqa: E501
import json
import os
import sys