mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
Set line length to 120 characters (#2599)
This commit is contained in:
+2
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user