Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rc1e committed Oct 11, 2024
1 parent b86233a commit 6741824
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Lib/gftools/gfgithub.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,11 @@ def create_pr(
)

def update_pr(
self,
pull_number: int,
title: str = None,
body: str = None,
state: str = None
self, pull_number: int, title: str = None, body: str = None, state: str = None
):
return self._post(
self.rest_url(f"pulls/{pull_number}"),
{
"title": title,
"body": body,
"state": state
}
{"title": title, "body": body, "state": state},
)

def create_issue_comment(self, issue_number: int, body: str):
Expand Down

0 comments on commit 6741824

Please sign in to comment.