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:
@@ -97,9 +97,7 @@ class ProjectColumn(github.GithubObject.CompletableGithubObject):
|
||||
:rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.ProjectCard.ProjectCard`
|
||||
:param archived_state: string
|
||||
"""
|
||||
assert archived_state is github.GithubObject.NotSet or isinstance(
|
||||
archived_state, str
|
||||
), archived_state
|
||||
assert archived_state is github.GithubObject.NotSet or isinstance(archived_state, str), archived_state
|
||||
|
||||
url_parameters = dict()
|
||||
if archived_state is not github.GithubObject.NotSet:
|
||||
@@ -141,9 +139,7 @@ class ProjectColumn(github.GithubObject.CompletableGithubObject):
|
||||
headers, data = self._requester.requestJsonAndCheck(
|
||||
"POST", f"{self.url}/cards", headers=import_header, input=post_parameters
|
||||
)
|
||||
return github.ProjectCard.ProjectCard(
|
||||
self._requester, headers, data, completed=True
|
||||
)
|
||||
return github.ProjectCard.ProjectCard(self._requester, headers, data, completed=True)
|
||||
|
||||
def move(self, position):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user