From 56a88018a96bfd8d7fda86fb9924ee5a5e3b66fb Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 29 Aug 2024 07:31:57 -0700 Subject: [PATCH] style: move docstring to correct position in report_github_issue function --- aider/report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/report.py b/aider/report.py index 38a98f793..0c6c6d530 100644 --- a/aider/report.py +++ b/aider/report.py @@ -6,8 +6,6 @@ from aider import __version__ def report_github_issue(issue_text, title=None): - version_info = f"Aider version: {__version__}\n\n" - issue_text = version_info + issue_text """ Compose a URL to open a new GitHub issue with the given text prefilled, and attempt to launch it in the default web browser. @@ -16,6 +14,8 @@ def report_github_issue(issue_text, title=None): :param title: The title of the issue (optional) :return: None """ + version_info = f"Aider version: {__version__}\n\n" + issue_text = version_info + issue_text base_url = "https://github.com/paul-gauthier/aider/issues/new" params = {"body": issue_text} if title is None: