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 spell check false positive by ignoring word #235

Merged
merged 1 commit into from
May 29, 2024
Merged

Fix spell check false positive by ignoring word #235

merged 1 commit into from
May 29, 2024

Conversation

per1234
Copy link
Collaborator

@per1234 per1234 commented May 29, 2024

The codespell spellchecker tool is used to automatically detect commonly misspelled words in the files of this project.

The misspelled words dictionary was expanded in the latest release of codespell. Some of the text in the project codebase happens to match against newly added entries, which caused codespell to produce a false misspelled word detection:

https://github.com/arduino/ArduinoCore-API/actions/runs/9265748213

spellcheck: api/Common.h#L111
shiftIn ==> shifting, shift in

Since the code that produced the detection is correct and intended, the false positive is resolved by configuring codespell to ignore the problematic word.

The codespell spellchecker tool is used to automatically detect commonly misspelled words in the files of this project.

The misspelled words dictionary was expanded in the latest release of codespell. Some of the text in the project
codebase happens to match against newly added entries, which caused codespell to produce a false misspelled word
detection.

Since the code that produced the detection is correct and intended, the false positive is resolved by configuring
codespell to ignore the problematic word.
@per1234 per1234 added the bug label May 29, 2024
@per1234 per1234 self-assigned this May 29, 2024
@per1234 per1234 merged commit 4df98f4 into arduino:master May 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant