Skip to content

Commit

Permalink
Black is fighting against mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
AnotherSamWilson committed Jul 26, 2024
1 parent 8967ff8 commit 6a0906d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions miceforest/imputation_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,9 +798,8 @@ def _get_candidate_preds_mice(
candidate_preds = lgbmodel.predict(
candidate_features,
pred_contrib=True,
).astype(
_PRE_LINK_DATATYPE
) # type: ignore
)
candidate_preds = candidate_preds.astype(_PRE_LINK_DATATYPE) # type: ignore
else:
candidate_preds = lgbmodel._Booster__inner_predict(0) # type: ignore
if logistic and not (shap or fast):
Expand Down

0 comments on commit 6a0906d

Please sign in to comment.