fix: Break long line to resolve flake8 line length error

This commit is contained in:
Paul Gauthier (aider) 2024-11-08 09:55:59 -08:00
parent 479d476878
commit 7edc9603d0

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}
)