Skip to content

Commit

Permalink
Merge pull request #44 from feerglas/improvement/exclude-additional-bots
Browse files Browse the repository at this point in the history
fix: add additional bots to exclude
  • Loading branch information
sergey48k authored Mar 13, 2020
2 parents ce4147b + b5c0a79 commit 37c6243
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion fame/github_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,14 @@ def _is_bot(self, github_user_json):
author_type = github_user_json['type']

KNOWN_BOTS = [
'pyup-bot', 'dependabot-bot', 'renovate-bot', 'greenkeeperio-bot']
'pyup-bot',
'dependabot-bot',
'renovate-bot',
'greenkeeperio-bot',
'semantic-release-bot',
'lyne-admin',
'snyk-bot'
]
return author_type == 'Bot' or author in KNOWN_BOTS

def _format_date(self, date):
Expand Down

0 comments on commit 37c6243

Please sign in to comment.