ReproNim / reproschema

A standardized form generation and data collection schema to harmonize results by design across projects.
https://www.repronim.org/reproschema/
Other
14 stars 21 forks source link

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

Open yarikoptic opened 3 months ago

yarikoptic commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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