Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CI Add Codespell to linters an removed codespell actions - #34773

Merged
lesteve merged 9 commits into
scikit-learn:mainfrom
DeaMariaLeon:codespell
Aug 19, 2026
Merged

CI Add Codespell to linters an removed codespell actions#34773
lesteve merged 9 commits into
scikit-learn:mainfrom
DeaMariaLeon:codespell

Conversation

@DeaMariaLeon

Copy link
Copy Markdown
Member

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Add Codespell to linters and removed action

AI usage disclosure

I used AI assistance for:

  • Code generation (e.g., when writing an implementation or fixing a bug): I reviewed & generated lock files
  • Research and understanding

Any other comments?

@lesteve

@lesteve

lesteve commented Aug 19, 2026

Copy link
Copy Markdown
Member

Merging the sphinx-lint PR created conflicts ... I think we have instructions in our doc somewhere that are trying to help with lock-file conflicts https://scikit-learn.org/stable/developers/contributing.html#resolve-conflicts-in-lock-files.

@DeaMariaLeon

DeaMariaLeon commented Aug 19, 2026

Copy link
Copy Markdown
Member Author

Merging the sphinx-lint PR created conflicts ... I think we have instructions in our doc somewhere that are trying to help with lock-file conflicts https://scikit-learn.org/stable/developers/contributing.html#resolve-conflicts-in-lock-files.

I saw this comment too late (after my latest push).

EDIT: I may need to do "python build_tools/update_environments_and_lock_files.py" again
Ok, I need to do more than that.

@lesteve lesteve left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks good. The only thing we are "losing" IIRC is that the codespell-project/codespell-problem-matcher action was supposed to do inline annotations inside the diff, not sure if I have ever seen doing this.

I prefer to have the linter fail and the automatic comment like the other linters.

For more context see #34766 where basically I think what happened codespell got an update and all the lint CI in PRs broke. With codespell being part of our linters, there is a lock-file and this would not happen.

Comment thread build_tools/linting.sh Outdated
Comment thread build_tools/linting.sh Outdated
@DeaMariaLeon

Copy link
Copy Markdown
Member Author

Failures are unrelated to this PR.
See #34717

@lesteve lesteve changed the title CI Add Codespell to linters and removed action CI Add Codespell to linters an removed codespell actions Aug 19, 2026
@lesteve
lesteve enabled auto-merge (squash) August 19, 2026 19:47
@lesteve
lesteve merged commit d671a9b into scikit-learn:main Aug 19, 2026
52 of 54 checks passed
@lesteve

lesteve commented Aug 19, 2026

Copy link
Copy Markdown
Member

Thanks, I restarted the failing build and merged. You may know this but you can always push an empty commit to trigger the full CI which may get your CI green if the issue is not deterministic.

@DeaMariaLeon
DeaMariaLeon deleted the codespell branch August 20, 2026 06:04
@DeaMariaLeon

Copy link
Copy Markdown
Member Author

Thank you.

@DeaMariaLeon DeaMariaLeon moved this to Done in Labs Aug 20, 2026
prady0t pushed a commit to prady0t/scikit-learn that referenced this pull request Sep 2, 2026
@jeremiedbb jeremiedbb mentioned this pull request Sep 8, 2026
14 tasks
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Sep 8, 2026
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Sep 9, 2026
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Sep 9, 2026
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.

2 participants