Skip to content

Commit

Permalink
fixed type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
jgibson517 committed Aug 30, 2023
1 parent ce1f824 commit 0a70834
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/votekit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,7 @@ def remove_cand(removed: Union[str, Iterable], ballots: list[Ballot]) -> list[Ba
return update


def order_candidates_by_borda(
candidate_set: Iterable, candidate_borda: dict
) -> Iterable:
def order_candidates_by_borda(candidate_set: set, candidate_borda: dict) -> list:
"""
Sorts candidates based on their Borda values
Expand Down

0 comments on commit 0a70834

Please sign in to comment.