We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ffc687 commit 7f1d15aCopy full SHA for 7f1d15a
scripts/update_top_ranking_issues.py
@@ -1,4 +1,5 @@
1
import os
2
+import itertools
3
from datetime import datetime, timedelta
4
5
from github import Github
@@ -38,7 +39,7 @@ def main():
38
39
)
40
issues = github.search_issues(query)
41
- # Format markdown
42
+ # Format
43
ranked_issues = []
44
# Continuous number generator for the numbered list, starts at 1
45
index_generator = itertools.count(1)
@@ -49,6 +50,8 @@ def main():
49
50
51
# Get numbered list item index from generator
52
i = next(index_generator)
53
+ if i >= MAX_ISSUES:
54
+ break
55
56
markdown_bullet_point: str = (
57
f"{issue.html_url} " +
0 commit comments