Skip to content

Commit 1eff92b

Browse files
DOC Fix typos found by codespell (scikit-learn#31277)
1 parent ebf071e commit 1eff92b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

build_tools/codespell_ignore_words.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ba
55
basf
66
boun
77
bre
8+
bu
89
cach
910
chanel
1011
complies
@@ -30,11 +31,13 @@ lamas
3031
linke
3132
lod
3233
mape
34+
mis
3335
mor
3436
nd
3537
nmae
3638
ocur
3739
pullrequest
40+
repid
3841
ro
3942
ser
4043
soler

examples/feature_selection/plot_rfe_with_cross_validation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,6 @@
110110
features_selected = np.ma.compressed(np.ma.masked_array(feat_names, mask=1 - mask))
111111
print(f"Features selected in fold {i}: {features_selected}")
112112
# %%
113-
# In the five folds, the selected features are consistant. This is good news,
114-
# it means that the selection is stable accross folds, and it confirms that
113+
# In the five folds, the selected features are consistent. This is good news,
114+
# it means that the selection is stable across folds, and it confirms that
115115
# these features are the most informative ones.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ package = "sklearn" # name of your package
276276
whatsnew_pattern = 'doc/whatsnew/upcoming_changes/[^/]+/\d+\.[^.]+\.rst'
277277

278278
[tool.codespell]
279-
skip = ["./.git", "./.mypy_cache", "./sklearn/feature_extraction/_stop_words.py", "./doc/_build", "./doc/auto_examples", "./doc/modules/generated"]
279+
skip = ["./.git", "*.svg", "./.mypy_cache", "./sklearn/feature_extraction/_stop_words.py", "./sklearn/feature_extraction/tests/test_text.py", "./build_tools/wheels/LICENSE_windows.txt", "./doc/_build", "./doc/auto_examples", "./doc/modules/generated"]
280280
ignore-words = "build_tools/codespell_ignore_words.txt"
281281

282282
[tool.towncrier]

0 commit comments

Comments
 (0)