Skip to content

Commit 635efe9

Browse files
committed
Fix linter error
1 parent 20cad6d commit 635efe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gobbli/inspect/evaluate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def metrics_report(self) -> str:
174174
y_true: Union[pd.DataFrame, List[str]] = self.y_true_multilabel
175175
y_pred: Union[pd.DataFrame, List[str]] = self.y_pred_multilabel
176176
# Since these are indicator dataframes, the "labels" are indices
177-
labels = list(range(len(self.labels)))
177+
labels: Union[List[str], List[int]] = list(range(len(self.labels)))
178178
else:
179179
y_true = self.y_true_multiclass
180180
y_pred = self.y_pred_multiclass

0 commit comments

Comments
 (0)