mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
parent
0f4761b44a
commit
7a64b8adcc
@ -27,7 +27,10 @@ print()
|
|||||||
|
|
||||||
api = ghapi.all.GhApi(owner="pybind", repo="pybind11")
|
api = ghapi.all.GhApi(owner="pybind", repo="pybind11")
|
||||||
|
|
||||||
issues = api.issues.list_for_repo(labels="needs changelog", state="closed")
|
issues_pages = ghapi.page.paged(
|
||||||
|
api.issues.list_for_repo, labels="needs changelog", state="closed"
|
||||||
|
)
|
||||||
|
issues = (issue for page in issues_pages for issue in page)
|
||||||
missing = []
|
missing = []
|
||||||
|
|
||||||
for issue in issues:
|
for issue in issues:
|
||||||
@ -41,7 +44,7 @@ for issue in issues:
|
|||||||
|
|
||||||
msg += f"\n `#{issue.number} <{issue.html_url}>`_"
|
msg += f"\n `#{issue.number} <{issue.html_url}>`_"
|
||||||
|
|
||||||
print(Syntax(msg, "rst", theme="ansi_light"))
|
print(Syntax(msg, "rst", theme="ansi_light", word_wrap=True))
|
||||||
print()
|
print()
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user