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:
@@ -113,14 +113,8 @@ class Membership(github.GithubObject.CompletableGithubObject):
|
||||
if "role" in attributes: # pragma no branch
|
||||
self._role = self._makeStringAttribute(attributes["role"])
|
||||
if "organization_url" in attributes: # pragma no branch
|
||||
self._organization_url = self._makeStringAttribute(
|
||||
attributes["organization_url"]
|
||||
)
|
||||
self._organization_url = self._makeStringAttribute(attributes["organization_url"])
|
||||
if "organization" in attributes: # pragma no branch
|
||||
self._organization = self._makeClassAttribute(
|
||||
github.Organization.Organization, attributes["organization"]
|
||||
)
|
||||
self._organization = self._makeClassAttribute(github.Organization.Organization, attributes["organization"])
|
||||
if "user" in attributes: # pragma no branch
|
||||
self._user = self._makeClassAttribute(
|
||||
github.NamedUser.NamedUser, attributes["user"]
|
||||
)
|
||||
self._user = self._makeClassAttribute(github.NamedUser.NamedUser, attributes["user"])
|
||||
|
||||
Reference in New Issue
Block a user