4 - id: check-translation-tag
5 name: Check newline characters in <translation> tag
6 entry: .github/workflows/helper/pre-commit/check_translation_tag.py
15 - repo: https://github.com/pre-commit/pre-commit-hooks.git
19 name: Check JSON files
22 name: Check YAML files
24 - id: fix-byte-order-marker
25 name: Check file encoding (UTF-8 without BOM)
28 src/base/unicodestrings.h
31 - id: mixed-line-ending
32 name: Check line ending character (LF)
36 src/webui/www/private/css/lib/.* |
37 src/webui/www/private/scripts/lib/.* |
38 dist/windows/license.txt |
39 test/testdata/crlf.txt
42 - id: end-of-file-fixer
43 name: Check trailing newlines
47 src/webui/www/private/css/lib/.* |
48 src/webui/www/private/scripts/lib/.* |
49 test/testdata/crlf.txt
55 - id: trailing-whitespace
56 name: Check trailing whitespaces
59 src/webui/www/private/css/lib/.* |
60 src/webui/www/private/scripts/lib/.*
65 - repo: https://github.com/codespell-project/codespell.git
69 name: Check spelling (codespell)
70 args: ["--ignore-words-list", "additionals,curren,fo,ist,ket,searchin,superseeding,te,ths"]
77 dist/windows/installer-translations/.* |
79 src/base/3rdparty/.* |
80 src/searchengine/nova3/socks.py |
81 src/webui/www/private/lang/.* |
82 src/webui/www/private/scripts/lib/.* |
83 src/webui/www/public/lang/.* |
84 src/webui/www/public/scripts/lib/.* |
85 src/webui/www/transifex/.*
90 - repo: https://github.com/crate-ci/typos.git
94 name: Check spelling (typos)
95 args: ["--config", ".github/workflows/helper/pre-commit/.typos.toml"]
101 \.pre-commit-config\.yaml |
105 dist/windows/installer-translations/.* |
107 src/base/3rdparty/.* |
108 src/searchengine/nova3/socks.py |
109 src/webui/www/private/lang/.* |
110 src/webui/www/private/scripts/lib/.* |
111 src/webui/www/public/lang/.* |
112 src/webui/www/public/scripts/lib/.* |
113 src/webui/www/transifex/.*