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:
+3
-9
@@ -188,21 +188,15 @@ class Migration(github.GithubObject.CompletableGithubObject):
|
||||
if "id" in attributes:
|
||||
self._id = self._makeIntAttribute(attributes["id"])
|
||||
if "owner" in attributes:
|
||||
self._owner = self._makeClassAttribute(
|
||||
github.NamedUser.NamedUser, attributes["owner"]
|
||||
)
|
||||
self._owner = self._makeClassAttribute(github.NamedUser.NamedUser, attributes["owner"])
|
||||
if "guid" in attributes:
|
||||
self._guid = self._makeStringAttribute(attributes["guid"])
|
||||
if "state" in attributes:
|
||||
self._state = self._makeStringAttribute(attributes["state"])
|
||||
if "lock_repositories" in attributes:
|
||||
self._lock_repositories = self._makeBoolAttribute(
|
||||
attributes["lock_repositories"]
|
||||
)
|
||||
self._lock_repositories = self._makeBoolAttribute(attributes["lock_repositories"])
|
||||
if "exclude_attachments" in attributes:
|
||||
self._exclude_attachments = self._makeBoolAttribute(
|
||||
attributes["exclude_attachments"]
|
||||
)
|
||||
self._exclude_attachments = self._makeBoolAttribute(attributes["exclude_attachments"])
|
||||
if "repositories" in attributes:
|
||||
self._repositories = self._makeListOfClassesAttribute(
|
||||
github.Repository.Repository, attributes["repositories"]
|
||||
|
||||
Reference in New Issue
Block a user