style: Wrap long comment_url line to fix flake8 line length error

This commit is contained in:
Paul Gauthier (aider) 2024-11-08 09:56:15 -08:00
parent 34dc684867
commit 8065e38797

View file

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