Skip to content

Commit 9ba4f91

Browse files
authored
MNT Avoid pre-commit failure (scikit-learn#31273)
1 parent 31439d2 commit 9ba4f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/cluster/_agglomerative.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
from ..utils.validation import check_memory, validate_data
3737

3838
# mypy error: Module 'sklearn.cluster' has no attribute '_hierarchical_fast'
39-
from . import _hierarchical_fast as _hierarchical
39+
from . import _hierarchical_fast as _hierarchical # type: ignore[attr-defined]
4040
from ._feature_agglomeration import AgglomerationTransform
4141

4242
###############################################################################

0 commit comments

Comments
 (0)