From 4d0464622bba6de07711af89aae82d5f24d5c3e7 Mon Sep 17 00:00:00 2001 From: Jochen Sieg Date: Wed, 9 Oct 2024 13:09:48 +0200 Subject: [PATCH] explainability: linting --- tests/test_explainability/test_shap_tree_explainer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_explainability/test_shap_tree_explainer.py b/tests/test_explainability/test_shap_tree_explainer.py index eb72cb39..9d739f56 100644 --- a/tests/test_explainability/test_shap_tree_explainer.py +++ b/tests/test_explainability/test_shap_tree_explainer.py @@ -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.""" @@ -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()