Skip to content

Commit 2047b7a

Browse files
author
Ye Paing
authored
fix: omitting dependabot login from classification (#51)
1 parent 103ac34 commit 2047b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/githubAPI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def gitHubCommentAPI(issues):
7070

7171
# For each non-bot comment, split up each sentence and append into CORPUS array above.
7272
for comment in comment_data:
73-
if (comment["user"]["type"] != "Bot"):
73+
if (comment["user"]["type"] != "Bot" and comment["user"]["login"] != "dependabot[bot]"):
7474

7575
# Tokenize CODE before splitting lines to prevent random code formatted lines
7676
# to throw error and skew the results.

0 commit comments

Comments
 (0)