mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Automatic style fix
This commit is contained in:
parent
84e311321d
commit
94b6d9ed05
@ -32,11 +32,15 @@ def parse_args():
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
def paginated_list_to_list(paginated_list: github.PaginatedList.PaginatedList[T]) -> List[T]:
|
||||
def paginated_list_to_list(
|
||||
paginated_list: github.PaginatedList.PaginatedList[T],
|
||||
) -> List[T]:
|
||||
return [item for item in paginated_list]
|
||||
|
||||
|
||||
READY_FOR_RELEASE_CHECK_NAME = "Ready for release"
|
||||
|
||||
|
||||
def main():
|
||||
args = parse_args()
|
||||
if args.debug_helpers:
|
||||
@ -69,7 +73,9 @@ def main():
|
||||
unreleased_commits = paginated_list_to_list(
|
||||
repo.get_commits(sha=pr.head.ref, since=latest_release_tag.tagger.date)
|
||||
)
|
||||
unreleased_commits.sort(key=lambda commit: commit.commit.committer.date, reverse=True)
|
||||
unreleased_commits.sort(
|
||||
key=lambda commit: commit.commit.committer.date, reverse=True
|
||||
)
|
||||
|
||||
released = False
|
||||
for commit in unreleased_commits:
|
||||
@ -91,7 +97,6 @@ def main():
|
||||
break
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
logging.getLogger().setLevel(logging.INFO)
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user