Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC, MNT Typos found by codespell #22906

Merged
merged 1 commit into from
Mar 20, 2022

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Mar 20, 2022

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Fix new typos found by codespell.

Any other comments?

Changelog probably not needed.

I hope the standart → standard change is OK. I was wondering whether Standart is a name, but it doesn't look like it is, just a typo.

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

LGTM

@jeremiedbb jeremiedbb merged commit ee5a1b6 into scikit-learn:main Mar 20, 2022
@jeremiedbb
Copy link
Member

Thanks @DimitriPapadopoulos

@@ -46,7 +46,7 @@ if [[ -n "$CHECK_WARNINGS" ]]; then
# numpy's 1.19.0's tostring() deprecation is ignored until scipy and joblib removes its usage
TEST_CMD="$TEST_CMD -Werror::DeprecationWarning -Werror::FutureWarning -Wignore:tostring:DeprecationWarning"

# Python 3.10 deprecates disutils and is imported by numpy interally during import time
# Python 3.10 deprecates distutils and is imported by numpy integrally during import time

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The codespell suggestion of "internally" seems more likely here.

Copy link
Contributor Author

@DimitriPapadopoulos DimitriPapadopoulos Mar 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, it makes sense after re-reading it. Fixed by #22912.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've done a PR in Codespell to add your suggestion too though! codespell-project/codespell#2316

@DimitriPapadopoulos DimitriPapadopoulos deleted the codespell branch March 21, 2022 06:29
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants