From 04d564ebb1185af6c3e02662170f2afc2c393188 Mon Sep 17 00:00:00 2001 From: skyace65 Date: Wed, 14 Jun 2023 19:21:29 -0400 Subject: [PATCH] tell codespell to ignore the locales file --- .github/workflows/ci.yml | 2 +- _tools/codespell-ignore-lines.txt | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7dbec5c5c2d..87ae495bf06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - name: Linter checks run: | bash _tools/format.sh - codespell -I _tools/codespell-ignore.txt -x _tools/codespell-ignore-lines.txt {about,community,development,getting_started,tutorials}/**/*.rst + codespell -I _tools/codespell-ignore.txt -x _tools/codespell-ignore-lines.txt -S tutorials/i18n/locales.rst {about,community,development,getting_started,tutorials}/**/*.rst # Use dummy builder to improve performance as we don't need the generated HTML in this workflow. - name: Sphinx build diff --git a/_tools/codespell-ignore-lines.txt b/_tools/codespell-ignore-lines.txt index e8b1816ef75..dc72b48eec3 100644 --- a/_tools/codespell-ignore-lines.txt +++ b/_tools/codespell-ignore-lines.txt @@ -1,20 +1 @@ -| ba | Bashkir | -| dum | Middle Dutch | -| fo | Faroese | -| fro | Old French | -| inh | Ingush | -| mye | Myene | -| nd | North Ndebele | -| ro | Romanian | -| seh | Sena | -| shs | Shuswap | -| te | Telugu | -| tem | Timne | -| Beng | Bengali | -| Maka | Makasar | -| BA | Bosnia and Herzegovina | -| FO | Faroe Islands | -| MM, BU | Myanmar | -| RO | Romania | -| VN | Viet Nam | .. image:: img/expres.png