MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / report

Function report

tools/github_stats.py:146–160  ·  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

144
145
146def report(issues, show_urls=False):
147 """Summary report about a list of issues, printing number and title."""
148 lines = []
149 if show_urls:
150 for i in issues:
151 role = 'ghpull' if 'merged_at' in i else 'ghissue'
152 number = i['number']
153 title = i['title'].replace('`', '``').strip()
154 lines.append(f'* :{role}:`{number}`: {title}')
155 else:
156 for i in issues:
157 number = i['number']
158 title = i['title'].replace('`', '``').strip()
159 lines.append('* {number}: {title}')
160 return '\n'.join(lines)
161
162# -----------------------------------------------------------------------------
163# Main script

Callers 1

github_stats.pyFile · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…