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