Browse Source

Tell codespell to ignore the locale code page (#7519)

Matthew 2 years ago
parent
commit
45c425079f
2 changed files with 1 additions and 20 deletions
  1. 1 1
      .github/workflows/ci.yml
  2. 0 19
      _tools/codespell-ignore-lines.txt

+ 1 - 1
.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

+ 0 - 19
_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