mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
Set line length to 120 characters (#2599)
This commit is contained in:
@@ -48,9 +48,7 @@ class AccessToken(NonCompletableGithubObject):
|
||||
"scope": self.scope,
|
||||
"type": self.type,
|
||||
"expires_in": self.expires_in,
|
||||
"refresh_token": (
|
||||
f"{self.refresh_token[:5]}..." if self.refresh_token else None
|
||||
),
|
||||
"refresh_token": (f"{self.refresh_token[:5]}..." if self.refresh_token else None),
|
||||
"refresh_token_expires_in": self.refresh_expires_in,
|
||||
}
|
||||
)
|
||||
@@ -137,6 +135,4 @@ class AccessToken(NonCompletableGithubObject):
|
||||
if "refresh_token" in attributes: # pragma no branch
|
||||
self._refresh_token = self._makeStringAttribute(attributes["refresh_token"])
|
||||
if "refresh_token_expires_in" in attributes: # pragma no branch
|
||||
self._refresh_expires_in = self._makeIntAttribute(
|
||||
attributes["refresh_token_expires_in"]
|
||||
)
|
||||
self._refresh_expires_in = self._makeIntAttribute(attributes["refresh_token_expires_in"])
|
||||
|
||||
Reference in New Issue
Block a user