MCPcopy Create free account
hub / github.com/ipython/ipython / report

Function report

tools/github_stats.py:96–105  ·  view source on GitHub ↗

Summary report about a list of issues, printing number and title.

(issues, show_urls=False)

Source from the content-addressed store, hash-verified

94
95
96def report(issues, show_urls=False):
97 """Summary report about a list of issues, printing number and title."""
98 if show_urls:
99 for i in issues:
100 role = 'ghpull' if 'merged_at' in i else 'ghissue'
101 print(u'* :%s:`%d`: %s' % (role, i['number'],
102 i['title'].replace(u'`', u'``')))
103 else:
104 for i in issues:
105 print(u'* %d: %s' % (i['number'], i['title'].replace(u'`', u'``')))
106
107#-----------------------------------------------------------------------------
108# Main script

Callers 1

github_stats.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected