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
@@ -39,9 +39,7 @@ class File(github.GithubObject.NonCompletableGithubObject):
"""
def __repr__(self):
return self.get__repr__(
{"sha": self._sha.value, "filename": self._filename.value}
)
return self.get__repr__({"sha": self._sha.value, "filename": self._filename.value})
@property
def additions(self):
@@ -149,9 +147,7 @@ class File(github.GithubObject.NonCompletableGithubObject):
if "patch" in attributes: # pragma no branch
self._patch = self._makeStringAttribute(attributes["patch"])
if "previous_filename" in attributes: # pragma no branch
self._previous_filename = self._makeStringAttribute(
attributes["previous_filename"]
)
self._previous_filename = self._makeStringAttribute(attributes["previous_filename"])
if "raw_url" in attributes: # pragma no branch
self._raw_url = self._makeStringAttribute(attributes["raw_url"])
if "sha" in attributes: # pragma no branch