Format with new black (#1679)

Black is very opinionated, but sometimes those opinions change. Run the
new black version across the codebase, and lock down the version used by
pre-commit so we don't get surprised like this again.
This commit is contained in:
Steve Kowalik
2020-09-02 14:59:09 +10:00
committed by GitHub
parent 6bc9ecc8c8
commit 07e29fe014
22 changed files with 83 additions and 30 deletions
+2 -1
View File
@@ -713,7 +713,8 @@ class PullRequest(github.GithubObject.CompletableGithubObject):
"""
assert isinstance(id, int), id
headers, data = self._requester.requestJsonAndCheck(
"GET", self.url + "/reviews/" + str(id),
"GET",
self.url + "/reviews/" + str(id),
)
return github.PullRequestReview.PullRequestReview(
self._requester, headers, data, completed=True