Skip to content

Commit

Permalink
Fix style (#538)
Browse files Browse the repository at this point in the history
fix style
  • Loading branch information
JingyaHuang authored Mar 28, 2024
1 parent bf46e2a commit f5c909e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/stale.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import github.GithubException
from github import Github


# TODO: define optimum specific labels
LABELS_TO_EXEMPT = [
"bug",
Expand All @@ -38,7 +39,7 @@ def main():

for i, issue in enumerate(open_issues):
print(i, issue)
comments = sorted(list(issue.get_comments()), key=lambda i: i.created_at, reverse=True)
comments = sorted(issue.get_comments(), key=lambda i: i.created_at, reverse=True)
last_comment = comments[0] if len(comments) > 0 else None
if (
last_comment is not None
Expand Down

0 comments on commit f5c909e

Please sign in to comment.