8000 DOC Ensures that Birch passes numpydoc validation (#20972) · scikit-learn/scikit-learn@ac8a2cd · GitHub
[go: up one dir, main page]

Skip to content

Commit ac8a2cd

Browse files
authored
DOC Ensures that Birch passes numpydoc validation (#20972)
1 parent 05829c5 commit ac8a2cd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

maint_tools/test_docstrings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
# List of modules ignored when checking for numpydoc validation.
1111
DOCSTRING_IGNORE_LIST = [
12-
"Birch",
1312
"GammaRegressor",
1413
"GaussianProcessRegressor",
1514
"GaussianRandomProjection",

sklearn/cluster/_birch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def __init__(
480480
# TODO: Remove in 1.2
481481
# mypy error: Decorated property not supported
482482
@deprecated( # type: ignore
483-
"`fit_` is deprecated in 1.0 and will be removed in 1.2"
483+
"`fit_` is deprecated in 1.0 and will be removed in 1.2."
484484
)
485485
@property
486486
def fit_(self):
@@ -489,7 +489,7 @@ def fit_(self):
489489
# TODO: Remove in 1.2
490490
# mypy error: Decorated property not supported
491491
@deprecated( # type: ignore
492-
"`partial_fit_` is deprecated in 1.0 and will be removed in 1.2"
492+
"`partial_fit_` is deprecated in 1.0 and will be removed in 1.2."
493493
)
494494
@property
495495
def partial_fit_(self):

0 commit comments

Comments
 (0)
0