Skip to content

Commit

Permalink
fix: mkdocs fixes, I think
Browse files Browse the repository at this point in the history
  • Loading branch information
msto committed Oct 17, 2024
1 parent 3f105a6 commit 7718824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fgpyo/util/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def __init__(
) -> None:
"""
Args:
path: Path to the file to write.
filename: Path to the file to write.
metric_class: Metric class.
append: If `True`, the file will be appended to. Otherwise, the specified file will be
overwritten.
Expand Down Expand Up @@ -541,7 +541,7 @@ def write(self, metric: Metric) -> None:
Raises:
TypeError: If the provided `metric` is not an instance of the Metric class used to
parametrize the writer.
parametrize the writer.
"""
if not isinstance(metric, self._metric_class):
raise TypeError(f"Must provide instances of {self._metric_class.__name__}")
Expand Down

0 comments on commit 7718824

Please sign in to comment.