1
0
Fork 0

Format Python code with Black (#2531)

Co-authored-by: tituspijean <8769166+tituspijean@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-08-18 13:45:09 +02:00 committed by GitHub
parent d1fad8abf2
commit 9bedbd5645

View file

@ -259,7 +259,8 @@ def reject_wishlist(request: Request, pr_infos: dict, reason=None) -> HTTPRespon
with requests.Session() as s:
s.headers.update({"Authorization": f"token {github_token()}"})
r = s.post(
f"https://api.github.com/repos/{repository}/pulls/{pr_number}", json=new_pr_title
f"https://api.github.com/repos/{repository}/pulls/{pr_number}",
json=new_pr_title,
)
if r.status_code != 200:
logging.info(