style: Remove unnecessary line breaks in comment_url assignment

This commit is contained in:
Paul Gauthier (aider) 2024-11-08 09:56:20 -08:00
parent 8065e38797
commit 007305962a

View file

@ -279,9 +279,7 @@ def handle_stale_closing(all_issues, auto_yes):
continue continue
# Add closing comment # Add closing comment
comment_url = ( comment_url = f"{GITHUB_API_URL}/repos/{REPO_OWNER}/{REPO_NAME}/issues/{issue['number']}/comments"
f"{GITHUB_API_URL}/repos/{REPO_OWNER}/{REPO_NAME}/issues/{issue['number']}/comments"
)
response = requests.post( response = requests.post(
comment_url, headers=headers, json={"body": CLOSE_STALE_COMMENT} comment_url, headers=headers, json={"body": CLOSE_STALE_COMMENT}
) )