Skip to content

Commit b724c35

Browse files
author
Thibault Cordier
committed
FIX: line too long
1 parent 04e52d4 commit b724c35

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mapie/conformity_scores/utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,10 @@ def check_target(
151151
or ``"score"`` or if type of target is not multi-class.
152152
"""
153153
check_classification_targets(y)
154-
if type_of_target(y) == "binary" and not isinstance(conformity_score, LACConformityScore):
154+
if (
155+
type_of_target(y) == "binary" and
156+
not isinstance(conformity_score, LACConformityScore)
157+
):
155158
raise ValueError(
156159
"Invalid method for binary target. "
157160
"Your target is not of type multiclass and "

0 commit comments

Comments
 (0)