mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Set line length to 120 characters (#2599)
This commit is contained in:
@@ -127,9 +127,7 @@ class Authorization(github.GithubObject.CompletableGithubObject):
|
||||
:param note_url: string
|
||||
:rtype: None
|
||||
"""
|
||||
assert isinstance(scopes, _NotSetType) or all(
|
||||
isinstance(element, str) for element in scopes
|
||||
), scopes
|
||||
assert isinstance(scopes, _NotSetType) or all(isinstance(element, str) for element in scopes), scopes
|
||||
assert isinstance(add_scopes, _NotSetType) or all(
|
||||
isinstance(element, str) for element in add_scopes
|
||||
), add_scopes
|
||||
@@ -149,9 +147,7 @@ class Authorization(github.GithubObject.CompletableGithubObject):
|
||||
}
|
||||
)
|
||||
|
||||
headers, data = self._requester.requestJsonAndCheck(
|
||||
"PATCH", self.url, input=post_parameters
|
||||
)
|
||||
headers, data = self._requester.requestJsonAndCheck("PATCH", self.url, input=post_parameters)
|
||||
self._useAttributes(data)
|
||||
|
||||
def _initAttributes(self):
|
||||
|
||||
Reference in New Issue
Block a user