mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Run black over the entire tree (#1386)
It's been a while since black was run over the entire tree, and since CI still doesn't check it, we can get behind.
This commit is contained in:
@@ -59,9 +59,7 @@ class InputGitTreeElement(object):
|
||||
content, str
|
||||
), content
|
||||
assert (
|
||||
sha is github.GithubObject.NotSet
|
||||
or sha is None
|
||||
or isinstance(sha, str)
|
||||
sha is github.GithubObject.NotSet or sha is None or isinstance(sha, str)
|
||||
), sha
|
||||
self.__path = path
|
||||
self.__mode = mode
|
||||
|
||||
Reference in New Issue
Block a user