Skip to content

Commit

Permalink
chore: typing
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Nov 13, 2024
1 parent dcfa426 commit 2160d4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/githarbor/providers/gitlabrepository.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ def get_contributors(
limit: int | None = None,
) -> list[User]:
contributors = self._repo.users.list(include_stats=True)
assert isinstance(contributors, list)
if sort_by == "name":
contributors = sorted(contributors, key=lambda c: c.username)
elif sort_by == "date":
Expand Down

0 comments on commit 2160d4a

Please sign in to comment.