Skip to content

Commit

Permalink
fix: type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
msto committed Oct 17, 2024
1 parent 4ab75b7 commit 3f105a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fgpyo/util/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def formatted_values(self) -> List[str]:
"""An iterator over formatted attribute values in the same order as the header."""
return [self.format_value(value) for value in self.values()]

def formatted_items(self) -> List[str]:
def formatted_items(self) -> List[Tuple[str, str]]:
"""An iterator over formatted attribute values in the same order as the header."""
return [(key, self.format_value(value)) for key, value in self.items()]

Expand Down

0 comments on commit 3f105a6

Please sign in to comment.