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
+4 -12
View File
@@ -153,9 +153,7 @@ class DeploymentStatus(github.GithubObject.CompletableGithubObject):
def _useAttributes(self, attributes):
if "environment_url" in attributes: # pragma no branch
self._environment_url = self._makeStringAttribute(
attributes["environment_url"]
)
self._environment_url = self._makeStringAttribute(attributes["environment_url"])
if "url" in attributes: # pragma no branch
self._url = self._makeStringAttribute(attributes["url"])
if "id" in attributes: # pragma no branch
@@ -165,21 +163,15 @@ class DeploymentStatus(github.GithubObject.CompletableGithubObject):
if "created_at" in attributes: # pragma no branch
self._created_at = self._makeDatetimeAttribute(attributes["created_at"])
if "creator" in attributes: # pragma no branch
self._creator = self._makeClassAttribute(
github.NamedUser.NamedUser, attributes["creator"]
)
self._creator = self._makeClassAttribute(github.NamedUser.NamedUser, attributes["creator"])
if "deployment_url" in attributes: # pragma no branch
self._deployment_url = self._makeStringAttribute(
attributes["deployment_url"]
)
self._deployment_url = self._makeStringAttribute(attributes["deployment_url"])
if "description" in attributes: # pragma no branch
self._description = self._makeStringAttribute(attributes["description"])
if "environment" in attributes: # pragma no branch
self._environment = self._makeStringAttribute(attributes["environment"])
if "repository_url" in attributes: # pragma no branch
self._repository_url = self._makeStringAttribute(
attributes["repository_url"]
)
self._repository_url = self._makeStringAttribute(attributes["repository_url"])
if "state" in attributes: # pragma no branch
self._state = self._makeStringAttribute(attributes["state"])
if "target_url" in attributes: # pragma no branch