GHA CI: add spelling check (codespell)

This commit is contained in:
Chocobo1 2023-06-25 15:03:17 +08:00
parent 1c654d8f47
commit 86a5ad3241
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

View file

@ -60,3 +60,24 @@ repos:
)$
exclude_types:
- ts
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
hooks:
- id: codespell
name: Check spelling (codespell)
args: ["--ignore-words-list", "additionals,curren,fo,ket,superseeding,te,ths"]
exclude: |
(?x)^(
.*\.desktop |
.*\.qrc |
build-aux/.* |
Changelog |
dist/windows/installer-translations/.* |
m4/.* |
src/base/3rdparty/.* |
src/searchengine/nova3/socks.py |
src/webui/www/private/scripts/lib/.*
)$
exclude_types:
- ts