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
@@ -45,9 +45,7 @@ class Tag(NonCompletableGithubObject):
"""
def __repr__(self):
return self.get__repr__(
{"name": self._name.value, "commit": self._commit.value}
)
return self.get__repr__({"name": self._name.value, "commit": self._commit.value})
def _initAttributes(self) -> None:
self._commit: Attribute[Commit] = NotSet
@@ -73,9 +71,7 @@ class Tag(NonCompletableGithubObject):
def _useAttributes(self, attributes) -> None:
if "commit" in attributes: # pragma no branch
self._commit = self._makeClassAttribute(
github.Commit.Commit, attributes["commit"]
)
self._commit = self._makeClassAttribute(github.Commit.Commit, attributes["commit"])
if "name" in attributes: # pragma no branch
self._name = self._makeStringAttribute(attributes["name"])
if "tarball_url" in attributes: # pragma no branch