Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Yu <[email protected]>
  • Loading branch information
justinvyu committed Oct 25, 2023
1 parent 96fcc4d commit bdff231
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tune_sklearn/_trainable.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,10 @@ def _train(self):
return_train_score=self.return_train_score,
error_score=self.error_score)
except ValueError as e:
if "It is very likely that your model is misconfigured" not in str(e):
if (
"It is very likely that your model is misconfigured"
not in str(e)
):
raise e
fit_failed = True

Expand Down

0 comments on commit bdff231

Please sign in to comment.