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

Add ignore-regex for codespell to ignore possible "es" localizations #536

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yarikoptic
Copy link
Member

Otherwise ATM would trigger one already

❯ codespell -C1
:                                 "en": "Several days",
>                                 "es": "Varios días"
:                             },
./examples/activities/activity1_embed.jsonld:52: Varios ==> Various
:                 "en": "Several days",
>                 "es": "Varios días"
:             },
./examples/activities/items/item1.jsonld:41: Varios ==> Various
: 											"en": "Several days",
> 											"es": "Varios días"
: 										},
./examples/protocols/protocol1_embed.jsonld:77: Varios ==> Various

Otherwise ATM would trigger one already

    ❯ codespell -C1
    :                                 "en": "Several days",
    >                                 "es": "Varios días"
    :                             },
    ./examples/activities/activity1_embed.jsonld:52: Varios ==> Various
    :                 "en": "Several days",
    >                 "es": "Varios días"
    :             },
    ./examples/activities/items/item1.jsonld:41: Varios ==> Various
    : 											"en": "Several days",
    > 											"es": "Varios días"
    : 										},
    ./examples/protocols/protocol1_embed.jsonld:77: Varios ==> Various
@satra
Copy link
Contributor

satra commented Aug 9, 2024

unfortunately, this will require adding country codes for any of those sections when updated. for example see: https://github.com/ReproNim/reproschema-library/blob/9be140d0297ae0671d50466448ae67dea86d3bfd/activities/PHQ-9/PHQ9_schema#L13

@yarikoptic
Copy link
Member Author

ATM it is the only one needed. I would say it could be worried about whenever next false positive comes up.

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

Successfully merging this pull request may close these issues.

2 participants