Browse Source

GHA CI: add spelling check (codespell)

adaptive-webui-19844
Chocobo1 1 year ago
parent
commit
86a5ad3241
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 21
      .pre-commit-config.yaml

21
.pre-commit-config.yaml

@ -60,3 +60,24 @@ repos: @@ -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

Loading…
Cancel
Save