add codespell
This commit is contained in:
parent
9c1d83476e
commit
d9fee4c354
|
@ -0,0 +1,4 @@
|
|||
ans
|
||||
ure
|
||||
clen
|
||||
ser
|
|
@ -0,0 +1,10 @@
|
|||
# See: https://github.com/codespell-project/codespell#using-a-config-file
|
||||
[codespell]
|
||||
# In the event of a false positive, add the problematic word, in all lowercase, to 'ignore-words.txt' (one word per line).
|
||||
# Or copy & paste the whole problematic line to 'exclude-file.txt'
|
||||
ignore-words = .codespell/ignore-words.txt
|
||||
exclude-file = .codespell/exclude-file.txt
|
||||
check-filenames =
|
||||
check-hidden =
|
||||
count =
|
||||
skip = .cproject,.git,./lib,./locale
|
|
@ -11,6 +11,12 @@ repos:
|
|||
exclude: '^(tests/.*\.exp|tests/cmdline/.*|tests/.*/data/.*|ports/espressif/esp-idf-config/.*|ports/espressif/boards/.*/sdkconfig)'
|
||||
- id: trailing-whitespace
|
||||
exclude: '^(tests/.*\.exp|tests/cmdline/.*|tests/.*/data/.*|lib/mbedtls_errors/.*)'
|
||||
- repo: https://github.com/codespell-project/codespell
|
||||
rev: v2.2.4
|
||||
hooks:
|
||||
- id: codespell
|
||||
#args: [-w]
|
||||
exclude: ^locale/
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: translations
|
||||
|
|
Loading…
Reference in New Issue