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

Undo re-use/re-using addition: it's not necessarily a typo #3521

Open
corneliusroemer opened this issue Aug 18, 2024 · 2 comments
Open

Undo re-use/re-using addition: it's not necessarily a typo #3521

corneliusroemer opened this issue Aug 18, 2024 · 2 comments
Labels
dictionary Changes to the dictionary duplicate

Comments

@corneliusroemer
Copy link
Contributor

I'm just running codespell on all of the python peps. I switched to main just now, see #3520

I notice that I get a lot of re-using/re-use typos. This isn't really a typo that's severe, it should maybe be part of an extra dictionary of "opinionated" rewrites. You don't want to change a PEP unless it's a clear typo.

Also, I think as part of CI, one should run codespell on large code bases to see what the impact would be and whether there's a risk of false positives. Otherwise it's hard to tell.

@corneliusroemer
Copy link
Contributor Author

This will change around 10% of all uses of reuse or around 1 word per 2 million which is quite a lot!

Google Chrome 2024-08-18 18 30 03

#3445 (comment)

It's even in titles of published books...

image

@DimitriPapadopoulos DimitriPapadopoulos added dictionary Changes to the dictionary duplicate labels Aug 18, 2024
@DimitriPapadopoulos
Copy link
Collaborator

Curated dictionaries and SCOWLS (And Friends) only have reuse. The grammar rule is Use the hyphen with the prefix re only when re means again AND omitting the hyphen would cause confusion with another word.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dictionary Changes to the dictionary duplicate
Projects
None yet
Development

No branches or pull requests

2 participants