Skip to content

Commit

Permalink
chore: type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
msto committed Jun 6, 2024
1 parent fddbd40 commit f833d92
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 @@ -218,7 +218,7 @@ def read(
with io.to_reader(path) as reader:
try:
header = cls.read_header(reader, comment_prefix=comment_prefix)
fieldnames = header.fieldnames
fieldnames: List[str] = header.fieldnames
except ValueError:
raise ValueError(f"No header found in file: {path}")

Expand Down

0 comments on commit f833d92

Please sign in to comment.