Skip to content

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

Closed

Description

@corneliusroemer

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.

Activity

  1. corneliusroemer commented on Aug 18, 2024

    @corneliusroemer
    ContributorAuthor

    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
  2. DimitriPapadopoulos commented on Aug 18, 2024

    @DimitriPapadopoulos
    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.

  3. kayhayen commented on Dec 30, 2024

    @kayhayen

    What's the difference between re-use vs. reuse (for which I had codespell trigger me), and re-used and reused, I was going to check if or how I report this kind of thing, it seems past tense and plural cases of words are not automatically recognized. Is this something the curated word lists should be reported to, or is this something for codespell at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions