Skip to content

Commit 3e1dff7

Browse files
committed
Fix spelling of commenter
1 parent 7eb7f03 commit 3e1dff7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

github_activity/github_activity.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def filter_ignored(userlist):
442442

443443
# This is a list, since we *want* duplicates in here—they
444444
# indicate number of times a contributor commented
445-
item_commentors = []
445+
item_commenters = []
446446

447447
# contributor order:
448448
# - author
@@ -472,22 +472,22 @@ def filter_ignored(userlist):
472472
# ignore bots
473473
continue
474474

475-
# Add to list of commentors on items they didn't author
475+
# Add to list of commenters on items they didn't author
476476
if comment_author != row["author"]:
477477
comment_helpers.append(comment_author)
478478

479-
# Add to list of commentors for this item so we can see how many times they commented
480-
item_commentors.append(comment_author)
479+
# Add to list of commenters for this item so we can see how many times they commented
480+
item_commenters.append(comment_author)
481481

482482
# count all comments on a PR as a contributor
483483
item_contributors.add(comment_author)
484484

485-
# Count any commentors that had enough comments on the issue to be a contributor
486-
item_commentors_counts = pd.Series(item_commentors).value_counts()
487-
item_commentors_counts = item_commentors_counts[
488-
item_commentors_counts >= comment_response_cutoff
485+
# Count any commenters that had enough comments on the issue to be a contributor
486+
item_commenters_counts = pd.Series(item_commenters).value_counts()
487+
item_commenters_counts = item_commenters_counts[
488+
item_commenters_counts >= comment_response_cutoff
489489
].index.tolist()
490-
for person in item_commentors_counts:
490+
for person in item_commenters_counts:
491491
all_contributors.add(person)
492492

493493
# record contributor list (ordered, unique)

0 commit comments

Comments
 (0)