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

Function _get_kind

extra/get_issues.py:51–56  ·  view source on GitHub ↗
(issue)

Source from the content-addressed store, hash-verified

49
50
51def _get_kind(issue):
52 labels = [label["name"] for label in issue["labels"]]
53 for key in ("bug", "enhancement", "proposal"):
54 if key in labels:
55 return key
56 return "issue"
57
58
59def report(issues):

Callers 1

reportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected