Ignore pyup-bot for author list

This commit is contained in:
Florian Bruhin 2017-03-01 23:55:19 +01:00
parent 81a36ffd7d
commit d4124c5c2a

View File

@ -438,9 +438,11 @@ def _get_authors():
'Rahid': 'Maciej Wołczyk',
'Fritz V155 Reichwald': 'Fritz Reichwald',
}
ignored = ['pyup-bot']
commits = subprocess.check_output(['git', 'log', '--format=%aN'])
authors = [corrections.get(author, author)
for author in commits.decode('utf-8').splitlines()]
for author in commits.decode('utf-8').splitlines()
if author not in ignored]
cnt = collections.Counter(authors)
return sorted(cnt, key=lambda k: (cnt[k], k), reverse=True)