diff --git a/maint_tools/test_docstrings.py b/maint_tools/test_docstrings.py index 69478c846a4a3..295f2598cc78c 100644 --- a/maint_tools/test_docstrings.py +++ b/maint_tools/test_docstrings.py @@ -9,7 +9,6 @@ # List of modules ignored when checking for numpydoc validation. DOCSTRING_IGNORE_LIST = [ - "Birch", "GammaRegressor", "GaussianProcessRegressor", "GaussianRandomProjection", diff --git a/sklearn/cluster/_birch.py b/sklearn/cluster/_birch.py index 38a57e4130d38..4f0e7200c2734 100644 --- a/sklearn/cluster/_birch.py +++ b/sklearn/cluster/_birch.py @@ -480,7 +480,7 @@ def __init__( # TODO: Remove in 1.2 # mypy error: Decorated property not supported @deprecated( # type: ignore - "`fit_` is deprecated in 1.0 and will be removed in 1.2" + "`fit_` is deprecated in 1.0 and will be removed in 1.2." ) @property def fit_(self): @@ -489,7 +489,7 @@ def fit_(self): # TODO: Remove in 1.2 # mypy error: Decorated property not supported @deprecated( # type: ignore - "`partial_fit_` is deprecated in 1.0 and will be removed in 1.2" + "`partial_fit_` is deprecated in 1.0 and will be removed in 1.2." ) @property def partial_fit_(self):