Set line length to 120 characters (#2599)

This commit is contained in:
Jirka Borovec
2023-07-13 17:37:20 +02:00
committed by GitHub
parent de80ff4b91
commit 13e178a3ab
192 changed files with 1455 additions and 4433 deletions
+2 -6
View File
@@ -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"])