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

Fix codespell behavior. #1769

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Conversation

bdice
Copy link
Contributor

@bdice bdice commented Dec 16, 2024

Description

Recently, I added support for codespell in CCCL (NVIDIA/cccl#3168). @shwina noticed some issues in my PR that were fixed in NVIDIA/cccl#3182. This PR ports similar fixes to RMM, to make codespell work better when run both inside and outside of pre-commit.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@bdice bdice requested review from a team as code owners December 16, 2024 23:23
@bdice bdice requested a review from msarahan December 16, 2024 23:23
@bdice bdice assigned bdice and unassigned bdice Dec 16, 2024
@bdice bdice added non-breaking Non-breaking change improvement Improvement / enhancement to an existing function labels Dec 16, 2024
# ignore short words, and typename parameters like OffsetT
ignore-regex = "\\b(.{1,4}|[A-Z]\\w*T)\\b"
ignore-words-list = "inout,thirdparty"
ignore-words-list = "thirdparty,couldn"
Copy link
Contributor

Choose a reason for hiding this comment

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

I understand the other stuff, but what's going on here? I'm approving regardless.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's a bug in codespell that incorrectly marks couldn't as an invalid word. Several projects are working around this. I tried to report it here on an issue I thought was relevant, but it was marked off-topic by the maintainer. codespell-project/codespell#2786 (comment)

@bdice
Copy link
Contributor Author

bdice commented Dec 17, 2024

@bdice
Copy link
Contributor Author

bdice commented Dec 17, 2024

/merge

@rapids-bot rapids-bot bot merged commit c7c38fa into rapidsai:branch-25.02 Dec 17, 2024
60 of 61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants