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

These typos do not belong to code, do they? #3470

Merged
merged 2 commits into from
Nov 23, 2024

Conversation

DimitriPapadopoulos
Copy link
Collaborator

@DimitriPapadopoulos DimitriPapadopoulos commented Jun 23, 2024

While the suggested fixes are words often used in code, the typos themselves do not seem to be valid words - even in code.

Fixes #3430 (comment).

codespell_lib/data/dictionary.txt Outdated Show resolved Hide resolved
codespell_lib/data/dictionary.txt Outdated Show resolved Hide resolved
@DimitriPapadopoulos DimitriPapadopoulos force-pushed the code branch 2 times, most recently from 34fadb5 to 8f5c0a6 Compare June 23, 2024 12:48
codespell_lib/data/dictionary.txt Outdated Show resolved Hide resolved
codespell_lib/data/dictionary.txt Outdated Show resolved Hide resolved
@DimitriPapadopoulos
Copy link
Collaborator Author

I have left a handful changes.

While the suggested fixes are words often used in code, the typos
themselves do not seem to be valid words - even in code.
Copy link
Contributor

@TheGiraffe3 TheGiraffe3 left a comment

Choose a reason for hiding this comment

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

@peternewman could you review this?

@luzpaz
Copy link
Collaborator

luzpaz commented Nov 23, 2024

some of these are misspellings of commonly used coding terminology.

@peternewman
Copy link
Collaborator

some of these are misspellings of commonly used coding terminology.

Yes, hence why they've been moved to the main dictionary @luzpaz . The code dictionary is only for where the typo is valid in code but a typo in normal usage. So technically it's the !code dictionary!

Copy link
Collaborator

@peternewman peternewman left a comment

Choose a reason for hiding this comment

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

LGTM thanks @DimitriPapadopoulos !

@peternewman peternewman merged commit da60275 into codespell-project:main Nov 23, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dictionary Changes to the dictionary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

assertIn false positivies
5 participants