Skip to content

Commit

Permalink
Fix mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danjujan committed Jul 25, 2023
1 parent 1943d32 commit b8a257e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions varats/varats/plots/llvm_coverage_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _compute_confusion_matrix(
feature_report: CoverageReport,
feature_name_map: tp.Dict[str, str],
threshold: float = 1.0
) -> ConfusionMatrix:
) -> ConfusionMatrix[ConfusionEntry]:
coverage_feature_regions: tp.List[tp.Any] = []
coverage_normal_regions: tp.List[tp.Any] = []
vara_feature_regions: tp.List[tp.Any] = []
Expand Down Expand Up @@ -194,7 +194,7 @@ def confusion_matrices(
self,
feature_name_map: tp.Dict[str, str],
threshold: float = 1.0
) -> tp.Dict[str, ConfusionMatrix]:
) -> tp.Dict[str, ConfusionMatrix[ConfusionEntry]]:
"""Returns the confusion matrices."""

report = self.feature_report()
Expand Down

0 comments on commit b8a257e

Please sign in to comment.