Skip to content

Commit 8b52433

Browse files
Fix a pylint nit
1 parent be73e2e commit 8b52433

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

khiops/sklearn/estimators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ def __sklearn_tags__(self):
273273
# pylint: disable=import-outside-toplevel
274274
try:
275275
from sklearn.utils import TransformerTags
276-
except ImportError:
277-
raise NotImplementedError("__sklearn_tags__ API unsupported.")
276+
except ImportError as error:
277+
raise NotImplementedError("__sklearn_tags__ API unsupported.") from error
278278

279279
# Set the tags from _more_tags
280280
tags = super().__sklearn_tags__()

0 commit comments

Comments
 (0)