MCPcopy
hub / github.com/celery/celery / find_missing_authors

Function find_missing_authors

extra/release/attribution.py:20–30  ·  view source on GitHub ↗
(seen)

Source from the content-addressed store, hash-verified

18
19
20def find_missing_authors(seen):
21 with open('AUTHORS') as authors:
22 known = [author(line) for line in authors.readlines()]
23
24 seen_authors = {t[0] for t in seen if proper_name(t[0])}
25 known_authors = {t[0] for t in known}
26 # maybe later?:
27 # seen_emails = {t[1] for t in seen}
28 # known_emails = {t[1] for t in known}
29
30 pprint(seen_authors - known_authors)
31
32
33if __name__ == '__main__':

Callers 1

attribution.pyFile · 0.85

Calls 3

openFunction · 0.85
authorFunction · 0.85
proper_nameFunction · 0.85

Tested by

no test coverage detected