Format Python code with Black (#2531)
Co-authored-by: tituspijean <8769166+tituspijean@users.noreply.github.com>
This commit is contained in:
parent
d1fad8abf2
commit
9bedbd5645
1 changed files with 3 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue