Skip to content

Commit

Permalink
Add ignore-regex for codespell to ignore possible "es" localizations
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yarikoptic committed Aug 8, 2024
1 parent 45a1cdc commit 4827cb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ line-length = 79
[tool.codespell]
skip = "env,venv,*.svg,pyproject.toml"
ignore-words-list = "HSI"
# Various localizations
ignore-regex = "\"es\": \".*\""
builtin = "clear,rare"

[tool.isort]
Expand Down

0 comments on commit 4827cb7

Please sign in to comment.