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
+3 -1
View File
@@ -168,7 +168,9 @@ class ProjectCard(github.GithubObject.CompletableGithubObject):
:rtype: bool
"""
status, _, _ = self._requester.requestJson(
"DELETE", self.url, headers={"Accept": Consts.mediaTypeProjectsPreview},
"DELETE",
self.url,
headers={"Accept": Consts.mediaTypeProjectsPreview},
)
return status == 204