Skip to content

Commit

Permalink
explainability: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
JochenSiegWork committed Oct 9, 2024
1 parent 9890493 commit 4d04646
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_explainability/test_shap_tree_explainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def test_explanations_fingerprint_pipeline(self) -> None:
is_morgan_fingerprint=True,
)

# pylint: disable=too-many-locals
def test_explanations_pipeline_with_invalid_inputs(self) -> None:
"""Test SHAP's TreeExplainer wrapper with invalid inputs."""

Expand All @@ -190,7 +191,7 @@ def test_explanations_pipeline_with_invalid_inputs(self) -> None:
n_bits = 64

for estimator in estimators:
for fill_val_idx, fill_value in enumerate(fill_values):
for fill_value in enumerate(fill_values):

# pipeline with ErrorFilter
error_filter1 = ErrorFilter()
Expand Down

0 comments on commit 4d04646

Please sign in to comment.