MCPcopy
hub / github.com/pytest-dev/pytest / report

Function report

extra/get_issues.py:59–75  ·  view source on GitHub ↗
(issues)

Source from the content-addressed store, hash-verified

57
58
59def report(issues):
60 for issue in issues:
61 title = issue["title"]
62 # body = issue["body"]
63 kind = _get_kind(issue)
64 status = issue["state"]
65 number = issue["number"]
66 link = f"https://github.com/pytest-dev/pytest/issues/{number}/"
67 print("----")
68 print(status, kind, link)
69 print(title)
70 # print()
71 # lines = body.split("\n")
72 # print("\n".join(lines[:3]))
73 # if len(lines) > 3 or len(body) > 240:
74 # print("...")
75 print(f"\n\nFound {len(issues)} open issues")
76
77
78if __name__ == "__main__":

Callers 1

mainFunction · 0.85

Calls 1

_get_kindFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…